Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Baptiste
kresus
Commits
646fbc5e
Commit
646fbc5e
authored
Jan 18, 2019
by
Jean-Baptiste
Browse files
add an nginx example file
parent
a7fd8633
Pipeline
#105211
passed with stages
in 6 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
support/nginx.conf
0 → 100644
View file @
646fbc5e
# This is an example file, remember to remplace variables __PATH__ and __PORT__
# __PATH__: if you install kresus on yourdomain.tld/kresus, value is "kresus"
# -> it means it's a subpath, remember to remove the comment of the first line
# __PORT__: the same port you used in config.ini
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location
__PATH__/
{
proxy_pass
http://127.0.0.1:__PORT__
;
proxy_set_header
Host
$host
;
proxy_redirect
off
;
proxy_connect_timeout
600
;
proxy_send_timeout
600
;
proxy_read_timeout
600
;
send_timeout
600
;
# allow "big" imports
client_max_body_size
8M
;
}
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