Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. server {
  2. server_name admin.musejam.com;
  3.  
  4. listen 80;
  5.  
  6. access_log /etc/nginx/logs/admin.musejam.com.access.log;
  7. error_log /etc/nginx/logs/admin.musejam.com.error.log;
  8.  
  9. root /home/ubuntu/project/musejam-admin;
  10.  
  11. index index.html;
  12.  
  13. location /index.html {
  14. try_files $uri /index.html;
  15. }
  16.  
  17. location / {
  18. try_files $uri $uri/ /index.html$uri?$args;
  19. }
  20.  
  21. # We don't need .ht files with nginx.
  22. location ~ /\.ht {
  23. deny all;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement