Update lots of things
This commit is contained in:
@ -6,8 +6,9 @@ server {
|
||||
alias /web/acme;
|
||||
}
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
@ -66,12 +67,12 @@ server {
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name energy.ojuso.org;
|
||||
server_name i18n.ojuso.org;
|
||||
|
||||
ssl_certificate /web/certs/energy.ojuso.org/fullchain.pem;
|
||||
ssl_certificate_key /web/certs/energy.ojuso.org/privkey.pem;
|
||||
ssl_certificate /web/certs/i18n.ojuso.org/fullchain.pem;
|
||||
ssl_certificate_key /web/certs/i18n.ojuso.org/privkey.pem;
|
||||
ssl_dhparam /web/certs/dhparam.pem;
|
||||
ssl_trusted_certificate /web/certs/energy.ojuso.org/chain.pem;
|
||||
ssl_trusted_certificate /web/certs/i18n.ojuso.org/chain.pem;
|
||||
|
||||
include directives/*;
|
||||
|
||||
@ -79,21 +80,6 @@ server {
|
||||
|
||||
root /web/weblate/data/static;
|
||||
|
||||
gzip on;
|
||||
gzip_proxied any;
|
||||
gzip_types text/plain
|
||||
application/atom+xml
|
||||
application/rss+xml
|
||||
application/javascript
|
||||
text/xml
|
||||
text/css
|
||||
application/xml
|
||||
application/json
|
||||
image/svg+xml
|
||||
font/opentype
|
||||
application/x-font-ttf
|
||||
application/vnd.ms-fontobject;
|
||||
|
||||
location /favicon.ico {
|
||||
alias /web/weblate/data/static/favicon.ico;
|
||||
expires 30d;
|
||||
|
Reference in New Issue
Block a user