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
Since I've switched to SWAG (from linuxserver.io) for my reverse proxy needs, including managing letsencrypt certificates, I tried to build a proxy configuration file for Datasette. The relevant part of my docker-compose.yml file is
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name datasette.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app datasette;
set $upstream_port 8001;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
This sort of setup works fine with some other containers. Note that I have already set up a datasette subdomain with my domain name registrar.
However, my attempts to access the subdomain result in the nginx "502 Bad Gateway" error.
When I investigate swag/keys/cert.crt with openssl, one of the DNS subdomains listed is indeed datasette.mysite.org. (Where mysite.org is the stand in for my real site name.)
Anyway, if anybody has got docker+datasette+SWAG working, I'd love to know how it was done! I installed Datasette locally, and I liked it very much. But I would like to offer the database and its search facilities to others; thus on my remote VPS. Thank you!
The text was updated successfully, but these errors were encountered:
Since I've switched to SWAG (from linuxserver.io) for my reverse proxy needs, including managing letsencrypt certificates, I tried to build a proxy configuration file for Datasette. The relevant part of my
docker-compose.yml
file isand the
datasette.subdomain.conf
file isThis sort of setup works fine with some other containers. Note that I have already set up a
datasette
subdomain with my domain name registrar.However, my attempts to access the subdomain result in the nginx "502 Bad Gateway" error.
When I investigate
swag/keys/cert.crt
with openssl, one of the DNS subdomains listed is indeeddatasette.mysite.org
. (Wheremysite.org
is the stand in for my real site name.)Anyway, if anybody has got docker+datasette+SWAG working, I'd love to know how it was done! I installed Datasette locally, and I liked it very much. But I would like to offer the database and its search facilities to others; thus on my remote VPS. Thank you!
The text was updated successfully, but these errors were encountered: