robertvari

stylus shop nginx config

Dec 20th, 2020 (edited)
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name 139.162.163.23;
  4.  
  5. location = /favicon.ico {
  6. alias /var/www/stylusshop/react/build/favicon.ico;
  7. }
  8.  
  9. location = /manifest.json {
  10. alias /var/www/stylusshop/react/build/manifest.json;
  11. }
  12.  
  13. location /static/ {
  14. root /var/www/stylusshop;
  15. }
  16.  
  17. location /media/ {
  18. root /var/www/stylusshop;
  19. }
  20.  
  21. access_log /var/www/stylusshop/access_log;
  22. error_log /var/www/stylusshop/error_log;
  23.  
  24.  
  25. location / {
  26. include proxy_params;
  27. proxy_pass http://unix:/var/www/stylusshop/stylusshop.sock;
  28. }
  29. }
Add Comment
Please, Sign In to add comment