mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
16 lines
365 B
Text
16 lines
365 B
Text
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name ojbk.me;
|
|
|
|
access_log /var/log/nginx/ojbk.me.log;
|
|
error_log /var/log/nginx/ojbk.me.error.log;
|
|
|
|
location /.well-known/acme-challenge {
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real_IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $remote_addr:$remote_port;
|
|
proxy_pass http://127.0.0.1:9180;
|
|
}
|
|
|
|
}
|