This commit is contained in:
Wojciech Kozlowski 2017-09-17 03:15:10 +01:00
parent e7106935d0
commit 05aee61493
7 changed files with 10 additions and 7 deletions

View File

@ -82,7 +82,7 @@ services:
external_url 'http://gitlab.wojciechkozlowski.eu'
# Add any other gitlab.rb configuration here, each on its own line
ports:
- 2770:22
- 22:2770
volumes:
- vol_gitlab_config:/etc/gitlab
- vol_gitlab_logs:/var/log/gitlab

View File

@ -1,6 +1,6 @@
server {
listen 80;
server_name localhost;
server_name wiki.wojciechkozlowski.eu;
root /usr/share/nginx/html;
index index.php index.html index.htm;

View File

@ -1,5 +1,5 @@
server {
listen 443;
listen 443 ssl;
server_name cloud.wojciechkozlowski.eu;
location / {

View File

@ -1,5 +1,5 @@
server {
listen 443;
listen 443 ssl;
server_name gitlab.wojciechkozlowski.eu;
location / {

View File

@ -1,5 +1,5 @@
server {
listen 443;
listen 443 ssl;
server_name wiki.wojciechkozlowski.eu;
location / {

View File

@ -1,5 +1,5 @@
server {
listen 443;
listen 443 ssl;
server_name wojciechkozlowski.eu;
location / {

View File

@ -38,9 +38,12 @@ http {
}
location / {
return 301 https://$server_name$request_uri;
return 301 https://$host$request_uri;
}
}
ssl_certificate /etc/letsencrypt/live/wojciechkozlowski.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/wojciechkozlowski.eu/privkey.pem;
include /etc/nginx/conf.d/*.conf;
}