mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 22:11:54 -05:00
mauville: add initial ddclient and nginx configs for forgejo
This commit is contained in:
parent
ac2ab72a0a
commit
3ece1b47a4
|
@ -46,6 +46,7 @@ in {
|
||||||
# My router doesn't expose settings for NAT loopback
|
# My router doesn't expose settings for NAT loopback
|
||||||
# So we have to use this workaround.
|
# So we have to use this workaround.
|
||||||
extraHosts = ''
|
extraHosts = ''
|
||||||
|
127.0.0.1 git.${domain}
|
||||||
127.0.0.1 music.${domain}
|
127.0.0.1 music.${domain}
|
||||||
127.0.0.1 news.${domain}
|
127.0.0.1 news.${domain}
|
||||||
127.0.0.1 nixcache.${domain}
|
127.0.0.1 nixcache.${domain}
|
||||||
|
@ -65,6 +66,7 @@ in {
|
||||||
ddclient = {
|
ddclient = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domains = [
|
domains = [
|
||||||
|
"git.raffauflabs.com"
|
||||||
"music.raffauflabs.com"
|
"music.raffauflabs.com"
|
||||||
"plex.raffauflabs.com"
|
"plex.raffauflabs.com"
|
||||||
"podcasts.raffauflabs.com"
|
"podcasts.raffauflabs.com"
|
||||||
|
@ -88,6 +90,19 @@ in {
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
|
# "git.${domain}" = {
|
||||||
|
# enableACME = true;
|
||||||
|
# forceSSL = true;
|
||||||
|
|
||||||
|
# locations."/" = {
|
||||||
|
# proxyPass = "http://127.0.0.1:4533";
|
||||||
|
# proxyWebsockets = true;
|
||||||
|
|
||||||
|
# extraConfig = ''
|
||||||
|
# proxy_buffering off;
|
||||||
|
# '';
|
||||||
|
# };
|
||||||
|
# };
|
||||||
"music.${domain}" = {
|
"music.${domain}" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue