Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sepia
Hannah Arendt
Commentary Deployment
Commits
a17d8d58
Verified
Commit
a17d8d58
authored
Nov 01, 2021
by
hynek
🤤
Browse files
chore: configure nginx for production
parent
47c0fcf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
conf/nginx.conf
0 → 100644
View file @
a17d8d58
events
{
}
http
{
# remediate version disclosure in "Server" header
server_tokens
off
;
server
{
listen
8080
;
# some xml files are way too large...
# value increased to exist-db max
client_max_body_size
100M
;
location
/api
{
proxy_pass
http://db:8080/exist/restxq
;
}
location
/
{
proxy_pass
http://front:80
;
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment