Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name admin.musejam.com;
- listen 80;
- access_log /etc/nginx/logs/admin.musejam.com.access.log;
- error_log /etc/nginx/logs/admin.musejam.com.error.log;
- root /home/ubuntu/project/musejam-admin;
- index index.html;
- location /index.html {
- try_files $uri /index.html;
- }
- location / {
- try_files $uri $uri/ /index.html$uri?$args;
- }
- # We don't need .ht files with nginx.
- location ~ /\.ht {
- deny all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement