Advertisement
Sergio_Istea

reverse proxy nginx

Apr 10th, 2024
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name your_domain www.your_domain;
  4.  
  5. location / {
  6. proxy_set_header Host $host;
  7. proxy_set_header X-Real-IP $remote_addr;
  8. proxy_pass http://localhost:8000;
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement