How do you keep track of all those Macs!? 🤣 Haha. With frequent trips back home in the begining 😃 . One final question if I may please, how do I add a proxy configuration to the existing front proxy so it listens for a specific server name, and proxies that to 3005 .... like this ?
server {
server_name api.mylocalsetup.com;
location / {
proxy_pass https://localhost:3005/;
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;
}
listen 443 ssl;
ssl_certificate "{{ssl_certificate_dir}}/cert.pem";
ssl_certificate_key "{{ssl_certificate_dir}}/key.pem";
}
Where do I need to put this config, so that is permanently added to my "System" proxy if I am understanding this well
I tried adding a system/nginx_reverse_proxy/conf/sites-enabled/mycustomreverseproxy.conf
to an nginx only stack, but since the nginx stack requires the addition of a site, it keeps trying to get the files from there (although i could see my conf file being added to the system) if that makes any sense