mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
* rewrite nginx parser to allow everything that nginx does
* also make changes in tls_sni_01.py
* add test case with
* allow embedded variables
* allow empty ${} variable
* fix quotes
* un-special case if
* update all tests to reflect current parsing
* escape in QuotedString after merge
* add test cases for variable weirdness that are almost certainly nginx bugs
* update regex for correct variable rules
* close paren doesn't invoke last_space
* Make test file valid Nginx syntax
17 lines
461 B
Text
17 lines
461 B
Text
# static files
|
|
location ~ ^/(images|javascript|js|css|flash|media|static)/ {
|
|
root "${PROJECTBASE}/${PROJECTNAME}/static";
|
|
}
|
|
|
|
location = /favicon.ico {
|
|
root "${PROJECTBASE}/${PROJECTNAME}/static/images";
|
|
}
|
|
|
|
# pass all requests to FastCGI TG server listening on ${HOST}:${PORT}
|
|
#
|
|
location / {
|
|
fastcgi_pass "${HOST}:${PORT}";
|
|
fastcgi_index index;
|
|
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
|
include conf/fastcgi_params;
|
|
}
|