admin管理员组文章数量:1531792
2024年2月28日发(作者:)
include /etc/nginx/; default_type application/octet-stream; # Load modular configuration files from the /etc/nginx/conf.d directory. # See /en/docs/ngx_core_#include # for more information. include /etc/nginx/conf.d/*.conf; server { #listen 80 default_server; server_name _; root /usr/share/nginx/html;
client_max_body_size 10m; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location /{ proxy_pass localhost:8081; }
location /wx{ proxy_pass localhost:8080; } location /api{ proxy_pass localhost:8080; }
location /{ proxy_pass localhost:8080; }
location /swagger{ proxy_pass localhost:8080; }
location /swagger-resources{ proxy_pass localhost:8080; }
location /webjars{ proxy_pass localhost:8080; }
location /v2/api-docs{ proxy_pass localhost:8080; }
error_page 404 /; location = / { } error_page 500 502 503 504 /; location = / { } }}
版权声明:本文标题:基于微信开发专题 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1709135637a220719.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论