Compare commits

..

5 Commits

Author SHA1 Message Date
Matthew d84a8d50ff
configure cal proxying 2024-10-07 20:26:55 -04:00
Matthew d53276c587
configure dashboard proxying 2024-10-02 13:08:41 -04:00
Matthew 58da81a5c0
change support log lonk 2024-08-15 11:54:48 -04:00
Matthew e1b186cec7
change support log lonk 2024-08-15 11:51:35 -04:00
Matthew 589054c287
change support log lonk 2024-08-15 11:45:03 -04:00
5 changed files with 15 additions and 39 deletions

View File

@ -6,19 +6,7 @@ server {
ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
root /opt/book;
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;
location / {
proxy_pass http://localhost:3000;
}
}

View File

@ -1,12 +0,0 @@
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

@ -1,12 +0,0 @@
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

@ -0,0 +1,12 @@
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;
location / {
return 307 https://wiki.libraryofcode.org/en/cs-support;
proxy_pass http://localhost:6574;
}
}