|
|
@ -1,11 +1,6 @@ |
|
|
location {LOCATION} { |
|
|
location {LOCATION} { |
|
|
alias {DESTDIR}/www/; |
|
|
alias {DESTDIR}/www/; |
|
|
|
|
|
|
|
|
# Force HTTPS |
|
|
|
|
|
if ($scheme = http) { |
|
|
|
|
|
rewrite ^ https://$server_name$request_uri? permanent; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Default indexes and catch-all |
|
|
# Default indexes and catch-all |
|
|
index index.html index.php; |
|
|
index index.html index.php; |
|
|
try_files $uri $uri/ {PATH}/index.php?$args; |
|
|
try_files $uri $uri/ {PATH}/index.php?$args; |
|
|
|