附近小店
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 2 mēnešiem
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. }