~~ssh~~ https auto update
This commit is contained in:
parent
3e9a7236b1
commit
48240fc0e3
@ -33,8 +33,8 @@ a:hover {
|
|||||||
<div class="normal-highlight">
|
<div class="normal-highlight">
|
||||||
<br>
|
<br>
|
||||||
<div class="tips-highlight">以下是由本服务提供的题目列表</div>
|
<div class="tips-highlight">以下是由本服务提供的题目列表</div>
|
||||||
<br>
|
<br><br>
|
||||||
<div class="tips-highlight">点击下载附件或进行交互,在新窗口打开</div>
|
<div class="tips-highlight">点击下载附件或进行交互(在新窗口打开)</div>
|
||||||
<br><br>
|
<br><br>
|
||||||
#REPLACE-ANCHOR-2#
|
#REPLACE-ANCHOR-2#
|
||||||
<br>
|
<br>
|
||||||
@ -45,5 +45,5 @@ a:hover {
|
|||||||
<div class="divide-line"></div>
|
<div class="divide-line"></div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
<footer><div class="foot-info"> for Woodpecker CTF 2024, created by ly65.</div><br></footer>
|
<footer><div class="foot-info">for Woodpecker CTF 2024, created by ly65.</div><br></footer>
|
||||||
</html>
|
</html>
|
||||||
|
@ -51,5 +51,5 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="divide-line"></div>
|
<div class="divide-line"></div>
|
||||||
</body>
|
</body>
|
||||||
<footer><div class="foot-info"> for Woodpecker CTF 2024, created by ly65.</div><br></footer>
|
<footer><div class="foot-info">for Woodpecker CTF 2024, created by ly65.</div><br></footer>
|
||||||
</html>
|
</html>
|
56
nginx-attachment-server.conf
Normal file
56
nginx-attachment-server.conf
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#it's already in the http directive
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 25000 ssl;
|
||||||
|
|
||||||
|
root /root/attachment-server/attachment-server/;
|
||||||
|
|
||||||
|
add_header Access-Control-Allow-Origin * always;
|
||||||
|
|
||||||
|
charset utf-8;
|
||||||
|
|
||||||
|
client_body_buffer_size 0;
|
||||||
|
client_max_body_size 0;
|
||||||
|
gzip off;
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
fastcgi_buffering off;
|
||||||
|
fastcgi_request_buffering off;
|
||||||
|
tcp_nopush off;
|
||||||
|
tcp_nodelay on;
|
||||||
|
|
||||||
|
location = / {
|
||||||
|
allow all;
|
||||||
|
index index.html;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /index.html {
|
||||||
|
allow all;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /api.php {
|
||||||
|
allow all;
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_pass unix:/var/run/php8.2-fpm.sock;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
fastcgi_read_timeout 1800s;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /assets/ {
|
||||||
|
allow all;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
|
error_page 405 =200 $uri;
|
||||||
|
|
||||||
|
ssl_certificate /root/wp24-atdl.ly65.top_ecc/cert1.pem;
|
||||||
|
ssl_certificate_key /root/wp24-atdl.ly65.top_ecc/privkey1.pem;
|
||||||
|
|
||||||
|
ssl_session_timeout 5m;
|
||||||
|
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
||||||
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
|
||||||
|
ssl_prefer_server_ciphers on;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user