Finish headless Debian operation and document CDN origin deployment
This commit is contained in:
@@ -8,6 +8,11 @@ server {
|
||||
client_max_body_size 100m;
|
||||
auth_basic "Kaoyan Workbench";
|
||||
auth_basic_user_file /etc/nginx/kaoyan-studio.htpasswd;
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
root /var/www/kaoyan-acme;
|
||||
auth_basic off;
|
||||
add_header Cache-Control no-store;
|
||||
}
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8765;
|
||||
proxy_set_header Host $http_host;
|
||||
|
||||
Reference in New Issue
Block a user