38 lines
1 KiB
Text
38 lines
1 KiB
Text
server {
|
|
access_log /var/log/nginx/luna.access.log;
|
|
error_log /var/log/nginx/luna.error.log;
|
|
server_name luna.nadeko.net;
|
|
include configs/listen.conf;
|
|
# index index.php /_h5ai/public/index.php;
|
|
# root /mnt/960gb_ssd/luna;
|
|
include configs/general.conf;
|
|
include configs/security.conf;
|
|
# default_type "application/octet-stream";
|
|
|
|
# location / {
|
|
# proxy_pass http://127.0.0.1:20001;
|
|
# }
|
|
|
|
# location /_h5ai/private {
|
|
# return 403;
|
|
# }
|
|
#
|
|
# location ~ [^/]\.php(/|$) {
|
|
# fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
|
# if (!-f $document_root$fastcgi_script_name) {
|
|
# return 404;
|
|
# }
|
|
# fastcgi_param HTTP_PROXY "";
|
|
# fastcgi_pass php-fpm-8.1;
|
|
# fastcgi_index index.php;
|
|
# include fastcgi_params;
|
|
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
# fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
# add_header Access-Control-Allow-Origin *;
|
|
# }
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:10008;
|
|
include configs/proxy.conf;
|
|
}
|
|
}
|