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:
parent
ed184f98fd
commit
6ecc56df72
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user