Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eScriptorium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
scripta
eScriptorium
Commits
ed647f9e
Commit
ed647f9e
authored
4 years ago
by
Robin Tissot
Browse files
Options
Downloads
Patches
Plain Diff
More ssl conf attempt.
parent
ec004267
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
nginx/Dockerfile
+1
-6
1 addition, 6 deletions
nginx/Dockerfile
nginx/ssl.conf
+1
-3
1 addition, 3 deletions
nginx/ssl.conf
nginx/ssl_certificates.conf_example
+3
-0
3 additions, 0 deletions
nginx/ssl_certificates.conf_example
production.yml_example
+5
-4
5 additions, 4 deletions
production.yml_example
with
10 additions
and
13 deletions
nginx/Dockerfile
+
1
−
6
View file @
ed647f9e
...
...
@@ -3,11 +3,6 @@ FROM nginx:1.15.0-alpine
RUN
rm
/etc/nginx/conf.d/default.conf
ARG
NGINX_CONF=nginx.conf
ARG
ACME_FILE
ARG
SSL_CERT
ARG
SSL_KEY
COPY
${NGINX_CONF} /etc/nginx/conf.d/nginx.conf
COPY
${SSL_CERT} /etc/certs/cert.pem
COPY
${SSL_KEY} /etc/certs/key.pem
COPY
${ACME_FILE} /usr/share/nginx/html/
COPY
ssl_certificates.conf* /etc/nginx/conf.d/
This diff is collapsed.
Click to expand it.
nginx/ssl.conf
+
1
−
3
View file @
ed647f9e
...
...
@@ -15,13 +15,11 @@ server {
charset
utf
-
8
;
client_max_body_size
150
M
;
ssl_certificate
/
etc
/
certs
/
cert
.
pem
;
ssl_certificate_key
/
etc
/
certs
/
key
.
pem
;
include
conf
.
d
/
ssl_certificates
.
conf
;
# Performance + Privacy improvements
ssl_stapling
on
;
ssl_stapling_verify
on
;
ssl_trusted_certificate
/
etc
/
certs
/
cert
.
pem
;
resolver
8
.
8
.
8
.
8
208
.
67
.
222
.
222
valid
=
300
s
;
resolver_timeout
5
s
;
...
...
This diff is collapsed.
Click to expand it.
nginx/ssl_certificates.conf_example
0 → 100644
+
3
−
0
View file @
ed647f9e
ssl_certificate /etc/certs/fullchain.pem;
ssl_certificate_key /etc/certs/privkey.pem;
ssl_trusted_certificate /etc/certs/fullchain.pem;
This diff is collapsed.
Click to expand it.
production.yml_example
+
5
−
4
View file @
ed647f9e
...
...
@@ -16,14 +16,15 @@ services:
- "80:80"
# - "443:443"
### To enable SSL, generate keys with letsencrypt/certbot
### To enable SSL, generate keys (eg with letsencrypt/certbot)
### copy nginx/ssl_certificates.conf_example and edit it
## if need be to correspond to the volume below
### and uncomment this block and the port 443
# build:
# args:
# - NGINX_CONF=ssl.conf
# - SSL_CERT=/etc/letsencrypt/live/$DOMAIN/fullchain.pem
# - SSL_KEY=/etc/letsencrypt/live/$DOMAIN/privkey.pem
# - ACME_FILE=./<some_hash>
# volumes:
# - /etc/letsencrypt/live/<mydomain>:/etc/certs
flower:
restart: always
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment