Guest User

Broken vHost

a guest
Dec 30th, 2021
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. Broken vHost:
  2.  
  3. # ------------------------------------------------------------
  4. # foo.example.com
  5. # ------------------------------------------------------------
  6.  
  7.  
  8. server {
  9. set $forward_scheme http;
  10. set $server "notifications_app_1";
  11. set $port 8000;
  12.  
  13. listen 80;
  14. #listen [::]:80;
  15.  
  16.  
  17. server_name foo.example.com;
  18.  
  19. access_log /data/logs/proxy-host-3_access.log proxy;
  20. error_log /data/logs/proxy-host-3_error.log warn;
  21.  
  22. location / {
  23.  
  24. # Access Rules
  25. allow 192.168.0.0/16;
  26. allow 172.16.0.0/12;
  27. allow 10.0.0.0/8;
  28. deny all;
  29.  
  30. # Access checks must...
  31.  
  32. satisfy all;
  33.  
  34. # Proxy!
  35. include conf.d/include/proxy.conf;
  36. }
  37.  
  38. # Custom
  39. include /data/nginx/custom/server_proxy[.]conf;
  40. }
Advertisement
Add Comment
Please, Sign In to add comment