Lets Encrypt friendliness

This commit is contained in:
Marwolf
2018-08-18 12:33:59 -04:00
parent e0e350991e
commit 24812b66fa
6 changed files with 29 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ server {
client_max_body_size 100M;
location / {
try_files $uri $uri/ =404;
try_files $uri $uri/index.php;
}
####### Proxies #######
@@ -30,6 +30,11 @@ server {
fastcgi_pass php:9001;
fastcgi_index index.php;
include fastcgi.conf;
root /app;
}
location ~ \.htm$ {
root /opt/bitnami/nginx/html;
}
# Ghost proxy
@@ -50,4 +55,9 @@ server {
proxy_pass http://tomcat;
}
location ~ /.well-known {
root /opt/bitnami/nginx/html;
allow all;
}
}