Hexo-Async-Offends/gateway/default.conf.template

18 lines
391 B
Plaintext
Raw Normal View History

2024-07-19 08:58:08 +00:00
server {
listen 80;
server_name ${localhost};
location / {
proxy_pass http://blog:4000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /twikoo {
proxy_pass http://blog-twikoo:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}