Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
repanier_gui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QueNenni
repanier_gui
Commits
f3767990
Commit
f3767990
authored
Apr 13, 2018
by
QueNenni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf nginx
parent
8f774165
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
127 additions
and
0 deletions
+127
-0
confs/nginx/sites-available/conf_communes_repanier.conf
confs/nginx/sites-available/conf_communes_repanier.conf
+11
-0
confs/nginx/sites-available/conf_communes_repanier_ssl.conf
confs/nginx/sites-available/conf_communes_repanier_ssl.conf
+16
-0
confs/nginx/sites-available/template_http.conf
confs/nginx/sites-available/template_http.conf
+40
-0
confs/nginx/sites-available/template_https.conf
confs/nginx/sites-available/template_https.conf
+60
-0
No files found.
confs/nginx/sites-available/conf_communes_repanier.conf
0 → 100644
View file @
f3767990
access_log
/
var
/
log
/
nginx
/
access
.
log
;
error_log
/
var
/
log
/
nginx
/
error
.
log
;
client_max_body_size
3
M
;
location
/
favicon
.
ico
{
alias
/
home
/
repanier
/
venv
/
favicon
.
ico
;
}
location
/
robots
.
txt
{
alias
/
home
/
repanier
/
venv
/
robots
.
txt
;
}
confs/nginx/sites-available/conf_communes_repanier_ssl.conf
0 → 100644
View file @
f3767990
listen
443
ssl
http2
;
listen
[::]:
443
ssl
http2
;
ssl
on
;
ssl_ciphers
'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'
;
ssl_protocols
TLSv1
TLSv1
.
1
TLSv1
.
2
;
ssl_prefer_server_ciphers
on
;
ssl_session_cache
shared
:
SSL
:
10
m
;
ssl_session_timeout
1
h
;
ssl_dhparam
/
etc
/
nginx
/
ssl
/
dhparam
.
pem
;
ssl_stapling
on
;
ssl_stapling_verify
on
;
resolver
8
.
8
.
8
.
8
8
.
8
.
4
.
4
valid
=
300
s
;
resolver_timeout
5
s
;
confs/nginx/sites-available/template_http.conf
0 → 100644
View file @
f3767990
server
{
listen
80
;
server_name
<
ndd
>;
access_log
/
var
/
log
/
nginx
/
access
.
log
;
error_log
/
var
/
log
/
nginx
/
error
.
log
;
client_max_body_size
3
M
;
# Let's Encrypt certificates with Acmetool
location
^~ /.
well
-
known
/
acme
-
challenge
/ {
root
/
var
/
www
/
html
/;
allow
all
;
default_type
"text/plain"
;
try_files
$
uri
/
dev
/
null
=
404
;
}
location
/
media
/ {
alias
<
home
>/<
env
>/<
projet
>/<
projet
>/
media
/
public
/;
}
location
/
static
/ {
alias
<
home
>/<
env
>/<
projet
>/<
projet
>/
collect
-
static
/;
}
location
/
favicon
.
ico
{
alias
<
home
>/<
env
>/<
projet
>/<
projet
>/
collect
-
static
/
favicon
.
ico
;
}
location
/
robots
.
txt
{
alias
<
home
>/<
env
>/<
projet
>/<
projet
>/
collect
-
static
/
robots
.
txt
;
}
location
/ {
include
uwsgi_params
;
uwsgi_param
HTTP_X_FORWARDED_HOST
$
server_name
:
9000
;
uwsgi_pass
unix
:///
tmp
/<
projet
>.
sock
;
uwsgi_read_timeout
600
s
;
uwsgi_send_timeout
60
s
;
uwsgi_connect_timeout
60
s
;
}
}
confs/nginx/sites-available/template_https.conf
0 → 100644
View file @
f3767990
server
{
listen
80
;
listen
[::]:
80
;
server_name
<
ndd
>;
# Let's Encrypt certificates with Acmetool
location
^~ /.
well
-
known
/
acme
-
challenge
/ {
root
/
var
/
www
/
html
/;
allow
all
;
default_type
"text/plain"
;
try_files
$
uri
/
dev
/
null
=
404
;
}
location
/ {
return
301
https
://$
host
$
request_uri
;
}
access_log
/
var
/
log
/
nginx
/
access
.
log
;
error_log
/
var
/
log
/
nginx
/
error
.
log
;
}
server
{
server_name
<
ndd
>;
client_max_body_size
3
M
;
include
/
etc
/
nginx
/
sites
-
available
/
conf_communes_repanier_ssl
.
conf
;
ssl_certificate
/
etc
/
letsencrypt
/
live
/<
ndd
>/
fullchain
.
pem
;
ssl_certificate_key
/
etc
/
letsencrypt
/
live
/<
ndd
>/
privkey
.
pem
;
location
/
media
/ {
alias
<
home
>/<
env
>/<
projet
>/<
projet
>/
media
/
public
/;
}
location
/
static
/ {
alias
<
home
>/<
env
>/<
projet
>/<
projet
>/
collect
-
static
/;
}
location
/
favicon
.
ico
{
alias
<
home
>/<
env
>/<
projet
>/<
projet
>/
collect
-
static
/
favicon
.
ico
;
}
location
/
robots
.
txt
{
alias
<
home
>/<
env
>/<
projet
>/<
projet
>/
collect
-
static
/
robots
.
txt
;
}
location
/ {
include
uwsgi_params
;
uwsgi_param
HTTP_X_FORWARDED_HOST
$
server_name
;
uwsgi_pass
unix
:///
tmp
/<
projet
>.
sock
;
uwsgi_read_timeout
600
s
;
uwsgi_send_timeout
60
s
;
uwsgi_connect_timeout
60
s
;
}
access_log
/
var
/
log
/
nginx
/
access
.
log
;
error_log
/
var
/
log
/
nginx
/
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