nginx.conf 阳光穿透心脏的1/2处 2022-06-12 14:09 85阅读 0赞 <table style="border-spacing:0px; border-collapse:collapse; color:rgb(36,41,46); font-size:14px"> <tbody style=""> <tr style=""> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">######</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">### Description: The config file of Nginx with ssl, spdy, no-www redircting, gzip functions</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">### Author: vfhky 2015.05.05 https://typecodes.com/web/centos7nginxhttpsspdy.html</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">######</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">user</span> nginx nginx;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">worker_processes</span> <span style="color:rgb(3,47,98)"> 1</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">error_log</span> /var/log/nginx/error.log;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#error_log logs/error.log notice;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#error_log logs/error.log info;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">pid</span> /var/run/nginx/nginx.pid;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">events</span> { </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">worker_connections</span> <span style="color:rgb(3,47,98)"> 1024</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">http</span> { </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">include</span> mime.types;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">default_type</span> application/octet-stream;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">log_format</span> <span style="color:rgb(0,92,197)"> main</span> <span style="color:rgb(3,47,98)">'<span style="color:rgb(36,41,46)">$remote_addr</span> - <span style="color:rgb(36,41,46)">$remote_user</span> [<span style="color:rgb(36,41,46)">$time_local</span>] "<span style="color:rgb(36,41,46)">$request</span>" '</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(3,47,98)">'<span style="color:rgb(36,41,46)">$status</span> <span style="color:rgb(36,41,46)">$body_bytes_sent</span> "<span style="color:rgb(36,41,46)">$http_referer</span>" '</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(3,47,98)">'"<span style="color:rgb(36,41,46)">$http_user_agent</span>" "<span style="color:rgb(36,41,46)">$http_x_forwarded_for</span>"'</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">access_log</span> /var/log/nginx/access.log <span style="color:rgb(0,92,197)">main</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">sendfile</span> <span style="color:rgb(0,92,197)"> on</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#tcp_nopush on;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#keepalive_timeout 0;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">keepalive_timeout</span> <span style="color:rgb(3,47,98)"> 65</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#hide nginx version info and forbid scan the website's index</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">server_tokens</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">autoindex</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#redirect the request tonginx when FastCGI make a http response with 4xx or 5xx</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_intercept_errors</span><span style="color:rgb(0,92,197)"> on</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#config the fastcgi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_connect_timeout</span> <span style="color:rgb(3,47,98)"> 300</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_send_timeout</span> <span style="color:rgb(3,47,98)"> 300</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_read_timeout</span> <span style="color:rgb(3,47,98)"> 300</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_buffer_size</span> <span style="color:rgb(0,92,197)"> 64k</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_buffers</span> <span style="color:rgb(3,47,98)"> 4</span> <span style="color:rgb(0,92,197)">64k</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_busy_buffers_size</span> 128k;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_temp_file_write_size</span> 128k;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#support gzip compress</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">gzip</span><span style="color:rgb(0,92,197)"> on</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">gzip_min_length</span> <span style="color:rgb(0,92,197)"> 1k</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">gzip_buffers</span> <span style="color:rgb(3,47,98)"> 16</span> <span style="color:rgb(0,92,197)">64k</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">gzip_http_version</span> <span style="color:rgb(0,92,197)"> 1.1</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">gzip_comp_level</span> <span style="color:rgb(3,47,98)"> 6</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">gzip_types</span> text/plain application/x-javascript text/css application/javascript text/javascript image/jpeg image/gif image/png application/xml application/json;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">gzip_vary</span><span style="color:rgb(0,92,197)"> on</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">gzip_disable</span> <span style="color:rgb(3,47,98)"> "MSIE [1-6].(?!.*SV1)"</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># Redirect all www to non-www</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">server</span> { </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">listen</span> *:80;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">listen</span> *:443 ssl http2;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">server_name</span> www.typecodes.com;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># the ssl certificate related with the url of https://typecodes.com/web/lnmppositivessl.html</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_certificate</span> /etc/nginx/ssl/typecodes.crt;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># the secret key related with the url of https://typecodes.com/web/lnmppositivessl.html</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_certificate_key</span> /etc/nginx/ssl/typecodes.key;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">access_log</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#do not gen log accessing favicon.ico and robots.txt</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> = /favicon.ico </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">root</span> html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">expires</span><span style="color:rgb(0,92,197)"> max</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">log_not_found</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">break</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> = /robots.txt </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">root</span> html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">expires</span><span style="color:rgb(0,92,197)"> max</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">log_not_found</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">break</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> / </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">return</span> <span style="color:rgb(3,47,98)"> 301</span> https://typecodes.com<span style="">$request_uri</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># Redirect all non-encrypted to encrypted</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">server</span> { </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">listen</span> *:80;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">server_name</span> typecodes.com;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">access_log</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#do not gen log accessing favicon.ico and robots.txt</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> = /favicon.ico </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">root</span> html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">expires</span><span style="color:rgb(0,92,197)"> max</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">log_not_found</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">break</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> = /robots.txt </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">root</span> html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">expires</span><span style="color:rgb(0,92,197)"> max</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">log_not_found</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">break</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> / </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">return</span> <span style="color:rgb(3,47,98)"> 301</span> https://typecodes.com<span style="">$request_uri</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># HTTPS server</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">server</span> { </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">listen</span> *:443 ssl http2;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">server_name</span> typecodes.com;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl</span><span style="color:rgb(0,92,197)"> on</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># the ssl certificate related with the url of https://typecodes.com/web/lnmppositivessl.html</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_certificate</span> /etc/nginx/ssl/typecodes.crt;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># the secret key related with the url of https://typecodes.com/web/lnmppositivessl.html</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_certificate_key</span> /etc/nginx/ssl/typecodes.key;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_session_cache</span> shared:SSL:10m;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_session_timeout</span> <span style="color:rgb(0,92,197)"> 10m</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># enables TLSv1, but not SSLv2, SSLv3 which is weak and should no longer be used.</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_protocols</span> TLSv1.2 TLSv1.1 TLSv1;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_prefer_server_ciphers</span><span style="color:rgb(0,92,197)"> on</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#ssl_dhparam /etc/nginx/ssl/dhparams.pem;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">ssl_ciphers</span> <span style="color:rgb(3,47,98)"> "EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4"</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># enables google spdy, version 3.1</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># add_header Alternate-Protocol 443:npn-spdy/3.1;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># only the access of my blog(typecodes.com) by https</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">add_header</span> Strict-Transport-Security <span style="color:rgb(3,47,98)">"max-age=31536000; includeSubdomains;preload"</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">add_header</span> X-Frame-Options DENY;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">add_header</span> X-Content-Type-Options nosniff;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#set the website's root dir</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">root</span> /usr/share/nginx/html/typecodes;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">index</span> index.php index.html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">charset</span> utf-8;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#access_log /var/log/nginx/log/host.access.log main;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#set the expires of static resource such as css, javascript</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> ~ <span style="color:rgb(3,47,98)"> .*\.(css|js|ico|png|gif|jpg|json|mp3|mp4|flv|swf)(.*) </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">expires</span> <span style="color:rgb(3,47,98)"> 60d</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">access_log</span><span style="color:rgb(0,92,197)"> off</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># include /etc/nginx/default.d/*.conf;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># keep the config file safe of the typecho blog</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> = /config.inc.php</span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">deny</span> <span style="color:rgb(0,92,197)"> all</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># keep the uploads directory safe by excluding php, php5, html file accessing. Applying to wordpress and typecho.</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># location ~ .*/uploads/.*\.(php|php5|html)$ { </span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># deny all;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># }</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># keep the plugins directory safe by excluding php, php5, html file accessing. Applying to wordpress and typecho.</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> ~ <span style="color:rgb(3,47,98)"> .*/plugins/.*\.(php|php5|html)$ </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">deny</span> <span style="color:rgb(0,92,197)"> all</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#set the rewrite of wordpress or typecho blog whith no index.php in the url</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> / </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> (-f <span style=""> $request_filename</span>/index.html){ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">rewrite</span> <span style="color:rgb(3,47,98)"> (.*) </span><span style="">$1</span>/index.html break;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> (-f <span style=""> $request_filename</span>/index.php){ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">rewrite</span> <span style="color:rgb(3,47,98)"> (.*) </span><span style="">$1</span>/index.php;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> (!-f <span style=""> $request_filename</span>){ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">rewrite</span> <span style="color:rgb(3,47,98)"> (.*) </span>/index.php;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#set the 40x error page</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">error_page</span> <span style="color:rgb(3,47,98)"> 400</span> <span style="color:rgb(3,47,98)">401</span> <span style="color:rgb(3,47,98)"> 402</span> <span style="color:rgb(3,47,98)">403</span> <span style="color:rgb(3,47,98)"> 404</span> /40x.html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> = /40x.html </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">root</span> html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">index</span> index.html index.htm;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># redirect server error pages to the static page /50x.html</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">error_page</span> <span style="color:rgb(3,47,98)"> 500</span> <span style="color:rgb(3,47,98)">501</span> <span style="color:rgb(3,47,98)"> 502</span> <span style="color:rgb(3,47,98)">503</span> <span style="color:rgb(3,47,98)"> 504</span> /50x.html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> <span style="color:rgb(111,66,193)"> = /50x.html </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">root</span> html;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">index</span> index.html index.htm;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># proxy the PHP scripts to Apache listening on 127.0.0.1:80</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#location ~ \.php$ { </span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># proxy_pass http://127.0.0.1;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#}</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># pass the PHP scripts to FastCGI server by tcp socket way other than listening on 127.0.0.1:9000</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">location</span> ~ <span style="color:rgb(3,47,98)"> .*\.php(\/.*)*$ </span>{ </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_split_path_info</span> <span style="color:rgb(3,47,98)"> ^(.+\.php)(/.+)$</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#fastcgi_pass 127.0.0.1:9000;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># the better form of fastcgi_pass than before</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_pass</span> unix:/var/run/php-fpm/php-fpm.sock;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_index</span> index.php;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fastcgi_param</span> SCRIPT_FILENAME <span style="">$document_root$fastcgi_script_name</span>;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">include</span> fastcgi_params;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># deny access to .htaccess files, if Apache's document root</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># concurs with nginx's one</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#location ~ /\.ht { </span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"># deny all;</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)">#}</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <p>}</p> <p>文章来源:https://github.com/vfhky/mylnmp/blob/master/Nginx/nginx.conf</p> </td> </tr> </tbody> </table>
相关 nginxConf配置详解 \nginx 进程,一般设置为和cpu核数一样; worker\_processes 1; \错误存放日志 error\_log logs/error.log; 约定不等于承诺〃/ 2021年11月23日 08:10/ 0 赞/ 323 阅读
还没有评论,来说两句吧...