This commit is contained in:
16
gateway/default.conf.template
Normal file
16
gateway/default.conf.template
Normal file
@@ -0,0 +1,16 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name ${DOMAIN_NAME};
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user