msjg.conf 506 B

1234567891011121314151617181920
  1. server {
  2. listen 8400;
  3. location /api/ {
  4. proxy_pass http://127.0.0.1:8480;
  5. proxy_read_timeout 3600;
  6. proxy_set_header Host $http_host;
  7. proxy_set_header X-Real-IP $remote_addr;
  8. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  9. }
  10. location / {
  11. root ../../msjg/web;
  12. index index.html index.htm;
  13. }
  14. location /upload/ {
  15. alias ../../msjg/upload/;
  16. }
  17. }