~dricottone/docker-moinmoin19

ref: 60a1ffe060774247a82aebdb06e01c490a67930a docker-moinmoin19/nginx/moinmoin.conf -rw-r--r-- 384 bytes
60a1ffe0Dominic Ricottone restructured container for security, readability; re-wrote documentation 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
server {
	listen      80 default_server;
	listen [::]:80 default_server;
	server_name _;
	return 404;
}

server {
	listen      80;
	listen [::]:80;
	server_name your_domain_here;

	location / {
		include /etc/nginx/conf.d/uwsgi_params;
		uwsgi_pass app:9000;
		uwsgi_modifier1 30;
	}

	error_page 500 502 503 504 /50x.html;
	location = /50x.html {
		root /usr/share/nginx/html;
	}
}