nginx proxy

From NAT, 6 Years ago, written in Plain Text, viewed 559 times.
URL https://code.nat.moe/view/5066c5c4 Embed
Download Paste or View Raw
  1. server {
  2.         listen 80;
  3.         server_name xxxxx;
  4.        
  5.         location / {
  6.                 proxy_pass http://127.0.0.1:8090;
  7.                
  8.                 proxy_set_header X-Real-IP $remote_addr;
  9.                 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  10.                 proxy_set_header Host $http_host;
  11.         }
  12. }
  13.  

Reply to "nginx proxy"

Here you can reply to the paste above

captcha