Advertisement
Sergio_Istea

nginx_proxy_vhost

Oct 17th, 2023 (edited)
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. server {
  2. listen 80;
  3.  
  4. server_name _;
  5.  
  6. location / {
  7. proxy_set_header Host $host;
  8. proxy_set_header X-Real-IP $remote_addr;
  9. proxy_pass http://localhost:8000;
  10. }
  11.  
  12. }
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement