Created
May 6, 2020 09:17
-
-
Save naviat/c82f1fd9016b7c6b9d595fef0b07b29e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker exec -it open-portal-v1 cat /etc/nginx/conf.d/default.conf | |
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
try_files $uri $uri/ @rewrites; | |
root /usr/share/nginx/html; | |
index index.html index.htm; | |
} | |
location @rewrites { | |
rewrite ^(.+)$ /index.html last; | |
} | |
error_page 500 502 503 504 /50x.html; | |
location = /50x.html { | |
root /usr/share/nginx/html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment