Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ISRIC
wsm.rest
Commits
3567e4d7
Commit
3567e4d7
authored
Dec 04, 2017
by
Luís de Sousa
Browse files
Adding config files examples for SystemD and nginx
parent
f9e4c7a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
configs/wsm.rest.nginx
0 → 100644
View file @
3567e4d7
server {
listen 8080;
server_name server_domain_or_IP;
location / {
include proxy_params;
proxy_pass http://unix:/home/duque004/git/wsm.rest/wsm.rest.sock;
}
}
configs/wsm.rest.service
0 → 100644
View file @
3567e4d7
[Unit]
Description
=
Gunicorn instance to World Soil Museum ReST API
After
=
network.target
[Service]
User
=
duque004
Group
=
www-data
WorkingDirectory
=
/home/duque004/git/wsm.rest
Environment
=
"PATH=/home/duque004/git/wsm.rest/wsm.rest.env/bin"
ExecStart
=
/home/duque004/git/wsm.rest/wsm.rest.env/bin/gunicorn --workers 3 --bind unix:wsm.rest.sock -m 007 wsgi:app
[Install]
WantedBy
=
multi-user.target
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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