附近小店
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

nginx.conf 934 B

2 miesięcy temu
12345678910111213141516171819202122232425262728
  1. server {
  2. listen 80;
  3. #listen 443 ssl http2;
  4. charset utf-8;
  5. server_name applet.xx;
  6. proxy_set_header Host $http_host;
  7. proxy_set_header X-Scheme $scheme;
  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 X-Forwarded-Proto $scheme;
  11. proxy_pass_header Server;
  12. location /api {
  13. proxy_pass http://127.0.0.1:9900/api/v1/;
  14. }
  15. error_log /tmp/applet_err.log;
  16. access_log /tmp/applet_acc.log main buffer=32k;
  17. #ssl_certificate /www/server/panel/vhost/cert/aid.im/fullchain.pem;
  18. #ssl_certificate_key /www/server/panel/vhost/cert/aid.im/privkey.pem;
  19. #ssl_protocols TLSv1.3 TLSv1.2 TLSv1.1;
  20. #ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
  21. #ssl_prefer_server_ciphers on;
  22. #ssl_session_cache shared:SSL:10m;
  23. #ssl_session_timeout 10m;
  24. }