Add nginx/sites-available/aula
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
ssl_certificate <censored>;
|
||||
ssl_certificate_key <censored>;
|
||||
ssl_dhparam <censored>;
|
||||
|
||||
server_name aula.c-iv.ru;
|
||||
|
||||
root /var/www/aula;
|
||||
index index.html;
|
||||
location / {
|
||||
# First attempt to serve request as file, then
|
||||
# as directory, then fall back to displaying a 404.
|
||||
allow all;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user