Fixed LE - alias for nginx in other distributions as well
Signed-off-by: Florian Aders <eleras@froxlor.org>
This commit is contained in:
@@ -263,10 +263,10 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
]]>
|
]]>
|
||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/conf.d/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}};
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|
||||||
location ~ /.well-known/acme-challenge/(.*) {
|
location ~ /.well-known/acme-challenge/(.*) {
|
||||||
default_type text/plain;
|
default_type text/plain;
|
||||||
|
|||||||
@@ -285,10 +285,10 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
]]>
|
]]>
|
||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/conf.d/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}};
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|
||||||
location ~ /.well-known/acme-challenge/(.*) {
|
location ~ /.well-known/acme-challenge/(.*) {
|
||||||
default_type text/plain;
|
default_type text/plain;
|
||||||
|
|||||||
@@ -244,10 +244,10 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
]]>
|
]]>
|
||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/conf.d/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}};
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|
||||||
location ~ /.well-known/acme-challenge/(.*) {
|
location ~ /.well-known/acme-challenge/(.*) {
|
||||||
default_type text/plain;
|
default_type text/plain;
|
||||||
|
|||||||
@@ -313,10 +313,10 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
]]>
|
]]>
|
||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/conf.d/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}};
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|
||||||
location ~ /.well-known/acme-challenge/(.*) {
|
location ~ /.well-known/acme-challenge/(.*) {
|
||||||
default_type text/plain;
|
default_type text/plain;
|
||||||
|
|||||||
Reference in New Issue
Block a user