-
Notifications
You must be signed in to change notification settings - Fork 7
/
default-nginx
64 lines (60 loc) · 2.97 KB
/
default-nginx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# https://www.nginx.com/resources/wiki/start/
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
# https://wiki.debian.org/Nginx/DirectoryStructure
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##
# Default server configuration
#
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
location = / {
proxy_pass http://localhost:8080;
include /etc/nginx/proxy_params;
}
# we're getting hammered by bots, so we're whitelisting everything
# TODO at some point we need to structure things differently so this is easier
location /HowToUse.html { proxy_pass http://localhost:8080; }
location /StatusCodes.html { proxy_pass http://localhost:8080; }
location /admin.html { proxy_pass http://localhost:8080; }
location /bowerbird.css { proxy_pass http://localhost:8080; }
location /chart.html { proxy_pass http://localhost:8080; }
location /docs.html { proxy_pass http://localhost:8080; }
location /driver_css_sandbox.html { proxy_pass http://localhost:8080; }
location /favicon.ico { proxy_pass http://localhost:8080; }
location /help.html { proxy_pass http://localhost:8080; }
location /index.html { proxy_pass http://localhost:8080; }
location /pilot-bowerbird-usage.html { proxy_pass http://localhost:8080; }
location /reset.html { proxy_pass http://localhost:8080; }
location /robots.txt { proxy_pass http://localhost:8080; }
location /special.html { proxy_pass http://localhost:8080; }
location /_index { proxy_pass http://localhost:8080; }
location /admin { proxy_pass http://localhost:8080; }
location /assign { proxy_pass http://localhost:8080; }
location /categoryview { proxy_pass http://localhost:8080; }
location /drivers { proxy_pass http://localhost:8080; }
location /enchilada { proxy_pass http://localhost:8080; }
location /logs { proxy_pass http://localhost:8080; }
location /errors { proxy_pass http://localhost:8080; }
location /list { proxy_pass http://localhost:8080; }
location /map { proxy_pass http://localhost:8080; }
location /overview { proxy_pass http://localhost:8080; }
location /pilot { proxy_pass http://localhost:8080; }
location /pilotadmin { proxy_pass http://localhost:8080; }
location /pilothelp { proxy_pass http://localhost:8080; }
location /pilotview { proxy_pass http://localhost:8080; }
location /randomize { proxy_pass http://localhost:8080; }
location /reset { proxy_pass http://localhost:8080; }
location /reset-request { proxy_pass http://localhost:8080; }
location /retrieve { proxy_pass http://localhost:8080; }
location /type { proxy_pass http://localhost:8080; }
location /update { proxy_pass http://localhost:8080; }
location /pupdate { proxy_pass http://localhost:8080; }
location /ups { proxy_pass http://localhost:8080; }
}