1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-12-27 06:15:25 +00:00

Add port_in_redirect directive to NGINX configuration template

This commit is contained in:
Effy Elden 2017-04-15 00:29:37 +10:00
parent ed184f98fd
commit 6ecc56df72
No known key found for this signature in database
GPG Key ID: 532C5E50BF4F86EE

View File

@ -19,6 +19,7 @@ http {
root /app/www; root /app/www;
{{ end }} {{ end }}
index index.html; index index.html;
port_in_redirect off;
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;