lapis
lapis copied to clipboard
How to run multiple lapis instance on port 80?
I will run multiple website in one server. I don't think that using proxy is a good idea. Can I run multiple lapis instance in one nginx server ?
If you make another server location in nginx config and put server_name subdomain.domain.tld; you can make it only listen to that subdomain. I use this to proxy to a local git server, So in my case it is
server {
listen ${{PORT}};
server_name git.domain.tld;
location / {
proxy_pass RealGitServer;
}
}
Instead of a proxy, Just put your usual things