mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-09 19:20:56 +08:00
#### What this PR does / why we need it? #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
23 lines
640 B
Text
23 lines
640 B
Text
server {
|
|
listen 80;
|
|
server_name ko.wp-1.com;
|
|
|
|
index index.php index.html index.htm default.php default.htm default.html;
|
|
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
|
|
access_log /www/sites/domain/log/access.log main;
|
|
error_log /www/sites/domain/log/error.log;
|
|
|
|
location ~ \.well-known{
|
|
allow all;
|
|
root /usr/share/nginx/html;
|
|
}
|
|
}
|