Fix indentation in nginx.conf
This commit is contained in:
parent
f9c5df9c43
commit
b0aaf9ea70
@ -14,8 +14,8 @@ http {
|
|||||||
charset utf-8;
|
charset utf-8;
|
||||||
default_type text/html;
|
default_type text/html;
|
||||||
|
|
||||||
ssl_certificate /var/www/certs/miti.sh/fullchain.pem;
|
ssl_certificate /var/www/certs/miti.sh/fullchain.pem;
|
||||||
ssl_certificate_key /var/www/certs/miti.sh/privkey.pem;
|
ssl_certificate_key /var/www/certs/miti.sh/privkey.pem;
|
||||||
|
|
||||||
location ^~ /.well-known/acme-challenge {
|
location ^~ /.well-known/acme-challenge {
|
||||||
alias /var/www/dehydrated;
|
alias /var/www/dehydrated;
|
||||||
@ -39,14 +39,14 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name git.miti.sh;
|
server_name git.miti.sh;
|
||||||
|
|
||||||
location ^~ /.well-known/acme-challenge {
|
location ^~ /.well-known/acme-challenge {
|
||||||
alias /var/www/dehydrated;
|
alias /var/www/dehydrated;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
client_max_body_size 1024M;
|
client_max_body_size 1024M;
|
||||||
proxy_pass http://localhost:3000;
|
proxy_pass http://localhost:3000;
|
||||||
proxy_set_header Connection $http_connection;
|
proxy_set_header Connection $http_connection;
|
||||||
@ -59,7 +59,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
server_name apps.miti.sh;
|
server_name apps.miti.sh;
|
||||||
|
|
||||||
location ^~ /.well-known/acme-challenge {
|
location ^~ /.well-known/acme-challenge {
|
||||||
alias /var/www/dehydrated;
|
alias /var/www/dehydrated;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user