Advertisement
kardapoltsev

nginx.conf

Apr 16th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. # Selfish settings
  2. server {
  3. listen 127.0.0.1:80;
  4. server_name localhost;
  5. if_modified_since off;
  6. add_header Last-Modified "";
  7.  
  8. access_log /var/log/nginx/localhost.access_log main;
  9. error_log /var/log/nginx/localhost.error_log info;
  10.  
  11. root /home/alexey/projects/frumatic/mls/frontend/public_html;
  12.  
  13. location /call {
  14. proxy_pass http://192.168.0.1:9003;
  15. proxy_set_header X-Real-IP $remote_addr;
  16. }
  17.  
  18. location /js/ {
  19. try_files $uri $uri;
  20. }
  21.  
  22. location /css/ {
  23. try_files $uri $uri;
  24. }
  25.  
  26. location ~* {
  27. try_files /index.html $uri;
  28. }
  29.  
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement