Common configurations described Nginx

Original content from LZ (landlord) notes impression, such as typesetting abnormal or missing images and other issues, you can view the current link: https://app.yinxiang.com/shard/s17/nl/19391737/7619763f-1730-4887 -90dd-c9aa931f3526
 
 
NGINX common use of:
 
Nginx common error codes summary ( https://www.cnblogs.com/qinghe123/p/8134606.html )
 
 
 
expires -1: browser does not claim any response data cache, to avoid problems of local cached data are used for each transmission request IE (also specifically refer to: https://github.com/DearZh/nginx-tutorial )
 
difference proxy_pass agent and without a backslash backslash /  https://www.cnblogs.com/Star-Haitian/p/10455588.html
 
alias directory is specified, and the distinction between direct and root directory specified; https://blog.csdn.net/qq_36826506/article/details/83110800
 
After proxy_pass proxy requests, styles loss problems ( https://blog.csdn.net/qq_27184497/article/details/82292399 )
 
 
Commonly used proxy configuration scenarios Description:  https://blog.csdn.net/faye0412/article/details/75200607
 
By increasing head add_header manner, you can check the current request is ultimately forwarded transmitted to that server, can see specifically, the SIP /app/nginx-ws1/conf/conf.d/global_proxy_server.conf ( HTTPS: / /blog.csdn.net/zhangjunli/article/details/80649002 )
 
 

Guess you like

Origin www.cnblogs.com/zh94/p/11923009.html