Miso-K
(Miso K)
41
Sure, You can make second nginx vhost configuration just for localhost:
server {
listen 80;
listen 443 ssl;
resolver 10.243.93.1;
server_name localhost;
location ~^/(?<container>\w+) {
proxy_pass http://$container.lxd/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
1 Like
Strangeā¦
This config didnāt work for some reason.
Although there are no errors
I think Iām doing something wrong
Can you please help?
Miso-K
(Miso K)
43
Text editor reorder line 7. It should be: proxy_pass http://$container.lxd :80/; without space.
1 Like
@Miso-K Itās incredible!
It worked!
I donāt know how to thank you
You are the best!
Thank you all very much for your participation!
Everyone was so helpful, I donāt even know how to thank everyone!
I hope this post helps a lot of people!
Thank you all for your attention!