Compare commits

..

No commits in common. "d84a8d50fff0a63e9047e5752491520f9736ee57" and "bcecc504e8f03ef4ccacbe759e5d6ca402833a5d" have entirely different histories.

5 changed files with 39 additions and 15 deletions

View File

@ -6,7 +6,19 @@ server {
ssl_certificate /etc/nginx/ssl/org.chain.crt; ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem; ssl_certificate_key /etc/nginx/ssl/org.key.pem;
location / { root /opt/book;
proxy_pass http://localhost:3000;
index index.html index.htm index.php;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
fastcgi_param HTACCESS on;
proxy_read_timeout 800;
}
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?/$1 last;
} }
} }

View File

@ -0,0 +1,12 @@
server {
listen 10.8.0.1:443 ssl http2;
#listen [::]:443 ssl http2;
server_name cr.ins;
ssl_certificate /etc/nginx/ssl/cr-ins.chain.crt;
ssl_certificate_key /etc/nginx/ssl/cr-ins.key.pem;
location / {
proxy_pass http://10.8.0.1:3891;
}
}

View File

@ -0,0 +1,12 @@
server {
listen 10.8.0.1:443 ssl http2;
#listen [::]:443 ssl http2;
server_name cshd.ins;
ssl_certificate /etc/nginx/ssl/cshd-ins.chain.crt;
ssl_certificate_key /etc/nginx/ssl/cshd-ins.key.pem;
location / {
proxy_pass http://10.8.0.1:5479;
}
}

View File

@ -1,12 +0,0 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name cshd.libraryofcode.org;
ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
location / {
proxy_pass http://localhost:5479;
}
}

View File

@ -8,6 +8,6 @@ server {
#limit_req zone=one burst=15; #limit_req zone=one burst=15;
location / { location / {
proxy_pass http://localhost:6574; return 307 https://wiki.libraryofcode.org/en/cs-support;
} }
} }