mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
[DEPLOY] Add deployment resources
This commit is contained in:
16
deploy/deploy-vagrant/templates/Caddyfile.j2
Executable file
16
deploy/deploy-vagrant/templates/Caddyfile.j2
Executable file
@@ -0,0 +1,16 @@
|
||||
:80 :443 {
|
||||
root * /srv
|
||||
file_server
|
||||
|
||||
@proxy_paths {
|
||||
not path /static/*
|
||||
not path /media/*
|
||||
}
|
||||
|
||||
reverse_proxy @proxy_paths http://server:8000
|
||||
|
||||
log {
|
||||
output stderr
|
||||
format console
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user