Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
7713aa0b
Commit
7713aa0b
authored
Nov 04, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nginx/uwsgi sample setup
Thanks to Greg Roach
parent
a39bb143
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
docs/admin/install.rst
docs/admin/install.rst
+13
-0
examples/weblate.nginx.conf
examples/weblate.nginx.conf
+30
-0
examples/weblate.uwsgi.ini
examples/weblate.uwsgi.ini
+7
-0
No files found.
docs/admin/install.rst
View file @
7713aa0b
...
...
@@ -456,6 +456,19 @@ mod_wsgi (available as :file:`examples/apache.conf`):
.. literalinclude:: ../../examples/apache.conf
Sample configuration for nginx
++++++++++++++++++++++++++++++
Following configuration runs Weblate as uwsgi under nginx webserver.
Configuration for nginx (also available as :file:`examples/weblate.nginx.conf`):
.. literalinclude:: ../../examples/weblate.nginx.conf
Configuration for uwsgi (also available as :file:`examples/weblate.uwsgi.ini`):
.. literalinclude:: ../../examples/weblate.uwsgi.ini
Running Weblate under path
++++++++++++++++++++++++++
...
...
examples/weblate.nginx.conf
0 → 100644
View file @
7713aa0b
server
{
listen
80
;
server_name
weblate
;
root
/
path
/
to
/
weblate
/
weblate
;
location
/
favicon
.
ico
{
root
/
path
/
to
/
weblate
/
weblate
/
media
;
expires
30
d
;
}
location
/
media
/ {
root
/
path
/
to
/
weblate
/
weblate
/
html
;
expires
30
d
;
}
location
/
robots
.
txt
{
root
/
path
/
to
/
weblate
/
weblate
/
media
;
expires
30
d
;
}
location
/
static
/
admin
/ {
root
/
usr
/
local
/
lib
/
python2
.
7
/
dist
-
packages
/
django
/
contrib
/
admin
;
expires
30
d
;
}
location
/ {
include
uwsgi_params
;
uwsgi_pass
127
.
0
.
0
.
1
:
8080
;
}
}
examples/weblate.uwsgi.ini
0 → 100644
View file @
7713aa0b
[uwsgi]
plugins
=
python
master
=
true
protocol
=
uwsgi
socket
=
127.0.0.1:8080
wsgi-file
=
/path/to/weblate/weblate/wsgi.py
python-path
=
/path/to/weblate
Write
Preview
Markdown
is supported
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