2.png 0
8i98

家事,国事,天下事,事事关心

2022-03-13

nginx 常用配置

2022-03-21 0 2 web前端社区

2.png 0 8i98

  1. server {
  2. listen 80;
  3. server_name 103.233.252.146;
  4. location / {
  5. proxy_pass http://127.0.0.1:8000;
  6. proxy_http_version 1.1;
  7. proxy_set_header Upgrade $http_upgrade;
  8. proxy_set_header Connection "upgrade";
  9. }
  10. location /static {
  11. root /home/shopadmin/shopadmin;
  12. }
  13. }
0

Copyright (C) 2021-2026 98社区 All Rights Reserved 蜀ICP备20012692号-3