diff options
author | EuAndreh <eu@euandre.org> | 2023-08-23 14:04:47 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-08-23 14:04:47 -0300 |
commit | 0488c77bc4bef3b95baf21dc076250079baf41b7 (patch) | |
tree | 631a89d3d9ef4f1b2a10d6edf488b1bfa2bd04b8 /etc/guix/system.scm | |
parent | etc/git/ignore: Add /tags (diff) | |
download | dotfiles-0488c77bc4bef3b95baf21dc076250079baf41b7.tar.gz dotfiles-0488c77bc4bef3b95baf21dc076250079baf41b7.tar.xz |
etc/guix/system.scm: Add local nginx server
Diffstat (limited to 'etc/guix/system.scm')
-rw-r--r-- | etc/guix/system.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/guix/system.scm b/etc/guix/system.scm index 0ae9916..1b2d130 100644 --- a/etc/guix/system.scm +++ b/etc/guix/system.scm @@ -28,6 +28,7 @@ ssh virtualization vpn + web xorg) (heredoc:enable-syntax) @@ -160,6 +161,17 @@ Seiko Epson Color Ink Jet Printers.") (list (host "10.0.0.0" "toph") (host "10.0.0.1" host-name))) + (service nginx-service-type + (nginx-configuration + (server-blocks + (list + (nginx-server-configuration + (listen '("8000")) + (locations + (list + (nginx-location-configuration + (uri "/proxy1") + (body '("include /var/tmp/nginx.conf;")))))))))) (service queue:local-postfix-service-type (queue:postfix-configuration (main.cf-extra #"- |