27 lines
729 B
Text
27 lines
729 B
Text
# Autogenerated by /www/global/bin/confgen 2009-12-18
|
|
# but don't run confgen again, this has local changes now
|
|
|
|
server {
|
|
listen 104.225.112.132:80 default accept_filter=httpready;
|
|
|
|
server_name sys.4chan.org sys.4channel.org;
|
|
root /www/4chan.org/web/sys;
|
|
|
|
location ~* ^/error.*\.php$ {
|
|
#fastcgi_pass localhost:9001;
|
|
fastcgi_pass unix:/tmp/phpfpm-sys.sock;
|
|
include /www/conf/fastcgi_params;
|
|
}
|
|
|
|
location ~* .* {
|
|
rewrite (.*) https://sys.4chan.org$1 permanent;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 104.225.112.132:443 ssl http2 accept_filter=dataready;
|
|
listen 10.0.0.19:443 default ssl http2 accept_filter=dataready;
|
|
|
|
include /www/conf/site/nginx_ssl.inc;
|
|
include /www/conf/site/sys.4chan.org.nginx.inc;
|
|
}
|