1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-26 10:33:06 +00:00

Merge pull request #21 from ineffyble/master

Add port_in_redirect directive to NGINX configuration template
This commit is contained in:
Jose Diaz-Gonzalez 2017-12-18 10:55:33 -05:00 committed by GitHub
commit ffaa249c5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;