mirror of
https://github.com/certbot/certbot.git
synced 2026-03-03 13:51:03 -05:00
25 lines
540 B
Text
25 lines
540 B
Text
# a test nginx conf
|
|
user www-data;
|
|
|
|
http {
|
|
server {
|
|
listen *:80 default_server ssl;
|
|
server_name *.www.foo.com *.www.example.com;
|
|
root /home/ubuntu/sites/foo/;
|
|
|
|
location /status {
|
|
types {
|
|
image/jpeg jpg;
|
|
}
|
|
}
|
|
|
|
location ~ case_sensitive\.php$ {
|
|
index index.php;
|
|
root /var/root;
|
|
}
|
|
location ~* case_insensitive\.php$ {}
|
|
location = exact_match\.php$ {}
|
|
location ^~ ignore_regex\.php$ {}
|
|
|
|
}
|
|
}
|