forked from ayoubelhioui/WebServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
new.conf
149 lines (146 loc) · 3.97 KB
/
new.conf
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
server {
listen 10.11.3.6:8080
max_client_body_size 100000000
server_name exambdqw.net localhost
error_page 400 ./public/htmlErrorPages/error400.html
error_page 404 ./public/htmlErrorPages/error404.html
location /ayoubayoub {
allow_methods POST GET DELETE
index index.html index.php aa.txt
root ./root/others
return a
upload_pass ayoub
}
location /ayoub/ayoub.txt {
allow_methods POST GET DELETE
index index.html index.php aa.txt
autoindex on
return b
cgi_pass py /usr/local/bin/python3
upload_pass testing
cgi_pass php ./cgi-bin/php-cgi
root .root/others
return 10.11.3.6:8080/Form.html
}
location / {
allow_methods GET POST DELETE
root public
autoindex on
upload_pass uploads
cgi_pass php ./CGIS/php-cgi
cgi_pass pl /usr/bin/perl
}
location /htmlErrorPages {
allow_methods GET POST DELETE
root /public/htmlErrorPages
autoindex on
upload_pass uploads
cgi_pass php ./CGIS/php-cgi
cgi_pass pl /usr/bin/perl
}
location /a/b/ {
allow_methods GET DELETE POST
index aaa.php bbb.php e.php
upload_pass uuuu
root ayoubayoub
cgi_pass php ./CGIS/php-cgi
cgi_pass pl /usr/bin/perl
return https://chat.openai.com/auth/login
}
}
server {
listen 10.11.3.6:8081
max_client_body_size 1000000000
server_name server_2 server_32
error_page 400 ./public/htmlErrorPages/error400.html
error_page 404 ./public/htmlErrorPages/error404.html
location /ayoubayoub {
allow_methods POST GET DELETE
index index.html index.php aa.txt
root ./root/others
return a
upload_pass ayoub
}
location /ayoub/ayoub.txt {
allow_methods POST GET DELETE
index index.html index.php aa.txt
autoindex on
return b
cgi_pass py /usr/local/bin/python3
upload_pass testing
cgi_pass php ./cgi-bin/php-cgi
root .root/others
}
location /abcd/defg/lop/qrs/ {
root /hjewvfhwebf
}
location / {
allow_methods GET POST DELETE
root public
upload_pass uploads
cgi_pass php ./CGIS/php-cgi
cgi_pass pl /usr/bin/perl
return https://chat.openai.com/auth/login
}
location /ayoubayoub/c/d/e.php {
allow_methods GET POST DELETE
root public
index a.php b.php c.php
# upload_pass nnn
cgi_pass php ./CGIS/php-cgi
}
location /a/b/ {
allow_methods GET DELETE POST
index aaa.php bbb.php e.php
# upload_pass uuuu
root ayoubayoub
cgi_pass php ./CGIS/php-cgi
}
}
server {
listen 10.11.3.6:6060
max_client_body_size 1000000
server_name server_2 server_32
error_page 400 ./public/htmlErrorPages/error400.html
error_page 404 ./public/htmlErrorPages/error404.html
location /ayoubayoub {
allow_methods POST GET DELETE
index index.html index.php aa.txt
root ./root/others
upload_pass ayoub
}
location /ayoub/ayoub.txt {
allow_methods POST GET DELETE
index index.html index.php aa.txt
autoindex on
cgi_pass py /usr/local/bin/python3
upload_pass testing
cgi_pass php ./cgi-bin/php-cgi
root .root/others
}
location /abcd/defg/lop/qrs/ {
root /hjewvfhwebf
return c
}
location / {
index index.html
allow_methods GET POST DELETE
root public
upload_pass uploads
cgi_pass php ./CGIS/php-cgi
cgi_pass pl /usr/bin/perl
}
location /ayoubayoub/c/d/e.php {
allow_methods GET POST DELETE
root public
index a.php b.php c.php
cgi_pass php ./CGIS/php-cgi
}
location /a/b/ {
allow_methods GET DELETE POST
index aaa.php bbb.php e.php
upload_pass uuuu
root ayoubayoub
cgi_pass php ./CGIS/php-cgi
}
}