Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- listen [::]:80;
- access_log /var/log/nginx/access.log;
- error_log /var/log/nginx/error.log;
- # APPLICATION FILES
- location / {
- root /usr/share/nginx/html;
- index index.html index.htm;
- try_files $uri $uri/ /index.html;
- }
- # ERROR 500...504
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/share/nginx/html;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement