程序员@老李 - Nginx 2023-11-02T16:26:00+08:00 Typecho https://blog.mostion.com/feed/atom/category/nginx/ <![CDATA[配置 typecho 博客系统 - nginx config]]> https://blog.mostion.com/archives/3/ 2023-11-02T16:26:00+08:00 2023-11-02T16:26:00+08:00 Jason http://blog.mostion.com # nginx config server { listen 80; server_name yourdomain.com; root /home/yourdomain/www/; index index.html index.htm index.php; if (!-e $request_filename) { rewrite ^(.*)$ /index.php$1 last; } location ~ .*\.php(\/.*)*$ { include fastcgi.conf; fastcgi_pass 127.0.0.1:9000; } access_log logs/yourdomain.log combined; } ]]>