Enable more sites

This commit is contained in:
Philip Peterson 2026-05-04 23:07:42 -08:00
parent 3b12f7aee2
commit ad6be27f7c

View file

@ -116,88 +116,88 @@
# ''; # '';
# }; # };
#}; #};
#"blog.quineglobal.com" = { "blog.quineglobal.com" = {
# enableACME = false; enableACME = false;
# forceSSL = false; forceSSL = false;
# addSSL = false; addSSL = false;
# locations."/" = { locations."/" = {
# proxyPass = "http://127.0.0.1:3010/"; # pass through to docker container proxyPass = "http://127.0.0.1:3010/"; # pass through to docker container
# }; };
#}; };
#"quineglobal.com" = { "quineglobal.com" = {
# enableACME = false; enableACME = false;
# forceSSL = false; forceSSL = false;
# addSSL = false; addSSL = false;
# locations."/" = { locations."/" = {
# extraConfig = '' extraConfig = ''
# index index.html index.htm; index index.html index.htm;
# root /etc/pullomatic/com_quineglobal; root /etc/pullomatic/com_quineglobal;
# ''; '';
# }; };
#}; };
#"webdav.philippeterson.com" = { "webdav.philippeterson.com" = {
# serverName = "webdav.philippeterson.com"; serverName = "webdav.philippeterson.com";
# enableACME = true; enableACME = true;
# onlySSL = true; onlySSL = true;
# locations."/" = { locations."/" = {
# proxyPass = "http://127.0.0.1:8082/"; # pass through to webdav proxyPass = "http://127.0.0.1:8082/"; # pass through to webdav
# extraConfig = '' extraConfig = ''
# # Pass required headers for WebDAV # Pass required headers for WebDAV
# proxy_set_header Host $host; proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
#
# # Pass Authorization header if required
# proxy_set_header Authorization $http_authorization;
#
# # Set timeouts for large file uploads or long WebDAV operations
# proxy_read_timeout 300;
# proxy_connect_timeout 300;
# proxy_send_timeout 300;
#
# # Increase client body size for large uploads
# client_max_body_size 100M;
#
# # Optional: Disable caching for WebDAV operations
# proxy_buffering off;
# proxy_cache off;
# '';
# };
#};
#"forge.quinefoundation.com-https" = { # Pass Authorization header if required
# serverName = "forge.quinefoundation.com"; proxy_set_header Authorization $http_authorization;
# enableACME = true;
# onlySSL = true;
# locations."/" = { # Set timeouts for large file uploads or long WebDAV operations
# proxyPass = "http://127.0.0.1:3000/"; # pass through to Forgejo proxy_read_timeout 300;
# }; proxy_connect_timeout 300;
#}; proxy_send_timeout 300;
#"forge.quinefoundation.com-http" = { # Increase client body size for large uploads
# serverName = "forge.quinefoundation.com"; client_max_body_size 100M;
# listen = [ # Optional: Disable caching for WebDAV operations
# { addr = "0.0.0.0"; port = 80; } proxy_buffering off;
# { addr = "[::]"; port = 80; } proxy_cache off;
# ]; '';
# };
# locations."/" = { };
# # TODO: forgejo does not support HTTP+HTTPS. But it would be nice if it did.
# #proxyPass = "https://forge.quinefoundation.com/"; # pass through to HTTPS
# # Instead, temporarily redirect to HTTPS "forge.quinefoundation.com-https" = {
# extraConfig = '' serverName = "forge.quinefoundation.com";
# return 302 https://$host$request_uri; enableACME = true;
# ''; onlySSL = true;
# };
#}; locations."/" = {
proxyPass = "http://127.0.0.1:3000/"; # pass through to Forgejo
};
};
"forge.quinefoundation.com-http" = {
serverName = "forge.quinefoundation.com";
listen = [
{ addr = "0.0.0.0"; port = 80; }
{ addr = "[::]"; port = 80; }
];
locations."/" = {
# TODO: forgejo does not support HTTP+HTTPS. But it would be nice if it did.
#proxyPass = "https://forge.quinefoundation.com/"; # pass through to HTTPS
# Instead, temporarily redirect to HTTPS
extraConfig = ''
return 302 https://$host$request_uri;
'';
};
};
}; };
# Optionally configure additional options # Optionally configure additional options