File tree 1 file changed +39
-0
lines changed
etc/nginx/sites-available
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ server {
2
+ listen 80;
3
+ listen [::]:80;
4
+ server_name vlc-qt.tano.si;
5
+
6
+ include /etc/nginx/snippets/letsencrypt.conf;
7
+
8
+ location / {
9
+ return 301 https://$server_name$request_uri;
10
+ }
11
+
12
+ access_log /var/log/nginx/vlc-qt.access.log;
13
+ error_log /var/log/nginx/vlc-qt.error.log;
14
+ }
15
+
16
+ server {
17
+ listen 443 ssl http2;
18
+ listen [::]:443 ssl http2;
19
+ server_name vlc-qt.tano.si;
20
+
21
+ root /var/www/vlc-qt;
22
+ index index.html;
23
+
24
+ include /etc/nginx/snippets/ssl.conf;
25
+
26
+ location / {
27
+ try_files $uri $uri/ =404;
28
+ }
29
+
30
+ location /reference/git/ {
31
+ alias /var/www/vlc-qt_gitreference/;
32
+ }
33
+
34
+ include /etc/nginx/snippets/error_pages.conf;
35
+ include /etc/nginx/snippets/jekyll.conf;
36
+
37
+ access_log /var/log/nginx/vlc-qt.access.log;
38
+ error_log /var/log/nginx/vlc-qt.error.log;
39
+ }
You can’t perform that action at this time.
0 commit comments