Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 81;
- listen [::]:81;
- server_name test.local www.test.local;
- # Load configuration files for the default server block.
- include /etc/nginx/default.d/*.conf;
- location / {
- root /var/www/test.local/html;
- index index.html index.htm;
- try_files $uri $uri/ =404;
- }
- 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