Maybe I'm not doing it right, but from what I understood I could use nginx config block in kong.yml to add new sites to be served. Is this possible or I'm understanding it wrong and instead of trying to push stuff inside kong I should just link it with standalone nginx container? I'm using kong with docker, I've tried to add server just below the http clause, but it seems that it's not being read/working. I tried same config on pure nginx container and it works well... I point the service1.local on my host to docker ip, reload kong config and exposed ports on docker...
http {
server {
listen 80;
server_name service1.local;
location / {
root /usr/share/nginx/html/service1;
index index.html;
}
location /nginx_status {
internal;
access_log off;
stub_status;
}
location /robots.txt {
return 200 'User-agent: *\nDisallow: /';
}
}--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+...@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/41daf8bc-df97-4525-94b2-4a47bc3b9530%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.