Compare commits
5 Commits
bcecc504e8
...
d84a8d50ff
Author | SHA1 | Date |
---|---|---|
Matthew | d84a8d50ff | |
Matthew | d53276c587 | |
Matthew | 58da81a5c0 | |
Matthew | e1b186cec7 | |
Matthew | 589054c287 |
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue