Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
5b7bfb74
Commit
5b7bfb74
authored
Jun 15, 2017
by
sim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt nginx conf to local usage
parent
27a1b5bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
22 deletions
+2
-22
nginx.config
install/gargamelle/nginx.config
+2
-22
No files found.
install/gargamelle/nginx.config
View file @
5b7bfb74
...
...
@@ -51,12 +51,12 @@ server {
# Add index.php to the list if you are using PHP
#index index.html index.htm index.nginx-debian.html;
server_name
_
stable
.
gargantext
.
org
gargantext
.
org
;
server_name
_
localhost
;
# Django media
location
/
media
{
alias
/
var
/
www
/
gargantext
/
media
;
# your Django project's media files - amend as required
alias
/
srv
/
gargantext_
media
;
# your Django project's media files - amend as required
}
location
/
static
{
...
...
@@ -72,23 +72,3 @@ server {
access_log
/
var
/
log
/
nginx
/
access
.
log
;
error_log
/
var
/
log
/
nginx
/
error
.
log
;
}
server
{
listen
80
;
listen
[::]:
80
;
server_name
dl
.
gargantext
.
org
;
error_page
404
/
index
.
html
;
location
/ {
root
/
var
/
www
/
dl
;
proxy_set_header
Host
$
host
;
proxy_buffering
off
;
}
access_log
/
var
/
log
/
nginx
/
dl
.
gargantext
.
org
-
access
.
log
;
error_log
/
var
/
log
/
nginx
/
dl
.
gargantext
.
org
-
error
.
log
;
}
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