mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-11 19:18:46 +00:00
* docs: split nginx configuration files to their own directory Signed-off-by: Xe Iaso <me@xeiaso.net> * test: add nginx config smoke test based on the config in the docs Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
29 lines
598 B
Plaintext
29 lines
598 B
Plaintext
# /etc/nginx/conf.d/server-mimi-techaro-lol.conf
|
|
|
|
server {
|
|
# Listen on 443 with SSL
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
http2 on;
|
|
|
|
# Slipstream via Anubis
|
|
include "conf-anubis.inc";
|
|
|
|
server_name mimi.techaro.lol;
|
|
|
|
ssl_certificate /path/to/your/certs/mimi.techaro.lol.crt;
|
|
ssl_certificate_key /path/to/your/certs/mimi.techaro.lol.key;
|
|
}
|
|
|
|
server {
|
|
listen unix:/run/nginx/nginx.sock;
|
|
|
|
server_name mimi.techaro.lol;
|
|
|
|
port_in_redirect off;
|
|
root "/srv/http/mimi.techaro.lol";
|
|
index index.html;
|
|
|
|
# Your normal configuration can go here
|
|
# location .php { fastcgi...} etc.
|
|
} |