Fixed LE - alias for nginx in other distributions as well

Signed-off-by: Florian Aders <eleras@froxlor.org>
This commit is contained in:
Florian Aders
2016-02-22 12:22:08 +01:00
parent 2286ea751e
commit 36cf003ed6
4 changed files with 8 additions and 8 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;