Commit abfad9ab authored by Pepijn Boers's avatar Pepijn Boers
Browse files

Change paths for matomo server

parent f461c153
## Installation fo docker-compose on matomo.science.ru.nl
Download latest stable release:
```
sudo curl -L --fail https://github.com/docker/compose/releases/download/1.27.4/run.sh -o /usr/local/bin/docker-compose
```
Give library execution permission:
```
sudo chmod +x /usr/local/bin/docker-compose
```
#user www-data;
worker_processes auto;
pid /run/nginx.pid;
#include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 1000;
......@@ -15,27 +13,21 @@ http {
server {
listen 80;
server_name s1.samp.com;
#server_name matomo.science.ru.nl;
server_name dnt.matomo.science.ru.nl;
return 301 https://$host$request_uri;
}
server {
listen 80 default_server;
server_name samp.com;
#server_name matomo.science.ru.nl;
server_name matomo.science.ru.nl;
return 301 https://$host$request_uri;
}
server {
listen 443;
server_name s1.samp.com;
#ssl_certificate /etc/ssl/private/matomo.science.ru.nl.crt;
#ssl_certificate_key /etc/ssl/private/matomo.science.ru.nl.key;
ssl_certificate /etc/ssl/private/server.crt;
ssl_certificate_key /etc/ssl/private/server.key;
server_name dnt.matomo.science.ru.nl;
ssl_certificate /etc/ssl/private/matomo.science.ru.nl.crt;
ssl_certificate_key /etc/ssl/private/matomo.science.ru.nl.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
......@@ -55,11 +47,9 @@ http {
server {
listen 443 ssl;
server_name samp.com;
#ssl_certificate /etc/ssl/private/matomo.science.ru.nl.crt;
#ssl_certificate_key /etc/ssl/private/matomo.science.ru.nl.key;
ssl_certificate /etc/ssl/private/server.crt;
ssl_certificate_key /etc/ssl/private/server.key;
server_name matomo.science.ru.nl;
ssl_certificate /etc/ssl/private/matomo.science.ru.nl.crt;
ssl_certificate_key /etc/ssl/private/matomo.science.ru.nl.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment