You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I want the flags (or in the future, other media) to be displayed on the path https://adventurelog.domain.tld/media instead of https://cdn.adventurelog.domain.tld since it goes through the same reverse proxy on my self-hosted setup. I want to maintain a separation of concerns for my existing reverse proxy (which reverse proxies different self-hosted apps), and not add a volume mount to it. I don't really want to add another subdomain (cdn.domain.tld) for the sake of several (currently smol) images. This is also an example of a working nginx/swag reverse proxy config.
My current swag (nginx) config:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name adventurelog.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app adventurelog-web;
set $upstream_port 3000;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
location /media/ {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app2 adventurelog-nginx;
set $upstream_port2 80;
set $upstream_proto2 http;
proxy_pass $upstream_proto2://$upstream_app2:$upstream_port2;
}
}
Excited to play with this app and play with it to plan my next trip! :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I want the flags (or in the future, other media) to be displayed on the path
https://adventurelog.domain.tld/media
instead ofhttps://cdn.adventurelog.domain.tld
since it goes through the same reverse proxy on my self-hosted setup. I want to maintain a separation of concerns for my existing reverse proxy (which reverse proxies different self-hosted apps), and not add a volume mount to it. I don't really want to add another subdomain (cdn.domain.tld) for the sake of several (currently smol) images. This is also an example of a working nginx/swag reverse proxy config.My current swag (nginx) config:
Excited to play with this app and play with it to plan my next trip! :)
Beta Was this translation helpful? Give feedback.
All reactions