29 lines
535 B
Plaintext
29 lines
535 B
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name store.eris.cc;
|
|
#include /etc/nginx/headers.conf;
|
|
location / {
|
|
return 301 https://store.eris.cc$request_uri;
|
|
}
|
|
location ^~ /.well-known/acme-challenge/ {
|
|
default_type "text/plain";
|
|
root /srv/http/acme.sh/;
|
|
}
|
|
|
|
access_log off;
|
|
}
|
|
|
|
server {
|
|
server_name store.eris.cc;
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
#include /etc/nginx/headers.conf;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8016/;
|
|
proxy_buffering off;
|
|
}
|
|
access_log off;
|
|
}
|