mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
kvmd-certbot
This commit is contained in:
5
configs/nginx/certbot.ctx-server.conf
Normal file
5
configs/nginx/certbot.ctx-server.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
location /.well-known/acme-challenge {
|
||||
root /run/kvmd-certbot/webroot;
|
||||
include /etc/kvmd/nginx/loc-nocache.conf;
|
||||
auth_request off;
|
||||
}
|
||||
@@ -27,11 +27,11 @@ http {
|
||||
keepalive_timeout 10;
|
||||
client_max_body_size 4k;
|
||||
|
||||
client_body_temp_path /tmp/kvmd-nginx.client_body_temp;
|
||||
fastcgi_temp_path /tmp/kvmd-nginx.fastcgi_temp;
|
||||
proxy_temp_path /tmp/kvmd-nginx.proxy_temp;
|
||||
scgi_temp_path /tmp/kvmd-nginx.scgi_temp;
|
||||
uwsgi_temp_path /tmp/kvmd-nginx.uwsgi_temp;
|
||||
client_body_temp_path /tmp/kvmd-nginx/client_body_temp;
|
||||
fastcgi_temp_path /tmp/kvmd-nginx/fastcgi_temp;
|
||||
proxy_temp_path /tmp/kvmd-nginx/proxy_temp;
|
||||
scgi_temp_path /tmp/kvmd-nginx/scgi_temp;
|
||||
uwsgi_temp_path /tmp/kvmd-nginx/uwsgi_temp;
|
||||
|
||||
include /etc/kvmd/nginx/kvmd.ctx-http.conf;
|
||||
include /usr/share/kvmd/extras/*/nginx.ctx-http.conf;
|
||||
@@ -47,6 +47,7 @@ http {
|
||||
include /etc/kvmd/nginx/listen-https.conf;
|
||||
include /etc/kvmd/nginx/ssl.conf;
|
||||
include /etc/kvmd/nginx/kvmd.ctx-server.conf;
|
||||
include /etc/kvmd/nginx/certbot.ctx-server.conf;
|
||||
include /usr/share/kvmd/extras/*/nginx.ctx-server.conf;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user