Fanfou Wiki

我等采石之人,当心怀建造大教堂之愿景。

用户工具

站点工具


nginx

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
后一修订版两侧同时换到之后的修订记录
nginx [2021/01/27 09:22] adminnginx [2021/01/27 09:49] admin
行 1: 行 1:
 ====== Nginx ====== ====== Nginx ======
 +===== HTTP response codes =====
 +[[https://developer.mozilla.org/zh-CN/docs/Web/HTTP/HTTP_response_codes|HTTP response codes - HTTP|MDN]]  \\
 +[[https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status|HTTP 响应代码 - HTTP|MDN]]  
 +   * 301 - 临时重定向
 +   * 302 - 永久重定向
 +
 +===== HTTP Rewrite HTTPS =====
 +[[https://nginx.org/en/docs/http/converting_rewrite_rules.html|Converting rewrite rules - nginx.org]]
 +<code nginx>
 +server {
 +    listen       80;
 +    server_name  example.org;
 +    return       301 https://www.example.org$request_uri;
 +}
 +</code>
 +
  
 ===== PHP 单入口 ===== ===== PHP 单入口 =====
 +[[https://learnku.com/docs/laravel/8.x/installation/9354#62e0b5|Laravel 8 中文文档]]
 <code nginx> <code nginx>
 location / { location / {
nginx.txt · 最后更改: 2021/02/17 21:16 由 admin