-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new conf file for prod (banan.kodapan.se)
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
map_hash_max_size 65536; | ||
map_hash_bucket_size 128; | ||
server_names_hash_bucket_size 64; | ||
|
||
map $uri $new { | ||
include /home/staffan/wds/ferenda/tng.lagen.nu/data/dv/generated/uri.map; | ||
} | ||
|
||
map $http_accept $conneg_suffix { | ||
default ""; | ||
"application/rdf+xml" "rdf"; | ||
"application/json" "json"; | ||
"application/n-triples" "nt"; | ||
"text/turtle" "ttl"; | ||
"application/xhtml+xml" "xhtml"; | ||
"application/pdf" "pdf"; | ||
} | ||
|
||
server { | ||
server_name ferendus.lagen.nu ferenda.lagen.nu; | ||
root /home/staffan/wds/ferenda/tng.lagen.nu/data; | ||
index index.html; | ||
include /home/staffan/wds/ferenda/tools/nginx-lagen.nu-redirects.conf; | ||
rewrite_log off; | ||
charset utf-8; | ||
charset_types text/html text/xml; | ||
client_max_body_size 4m; | ||
location @uwsgi { | ||
uwsgi_pass unix:///tmp/ferenda.sock; | ||
include /etc/nginx/uwsgi_params; | ||
} | ||
} |