config after DDoS
This commit is contained in:
parent
ab6b18cfb9
commit
ced4c776e9
|
@ -0,0 +1,13 @@
|
||||||
|
server {
|
||||||
|
listen 80 default_server;
|
||||||
|
listen [::]:80 default_server;
|
||||||
|
listen 443 default_server;
|
||||||
|
listen [::]:443 default_server;
|
||||||
|
|
||||||
|
# ssl_reject_handshake on;
|
||||||
|
ssl_certificate /etc/ssl/null.crt;
|
||||||
|
ssl_certificate_key /etc/ssl/null.key;
|
||||||
|
|
||||||
|
server_name "";
|
||||||
|
return 444;
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
server {
|
server {
|
||||||
listen 443 ssl default_server; # managed by Certbot
|
listen 443 ssl; # managed by Certbot
|
||||||
server_name skazochnik.spb.ru gipat;
|
server_name skazochnik.spb.ru gipat;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://gipat:5002/;
|
proxy_pass http://gipat:5002/;
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
*/5 * * * * docker exec --user www-data nextcloud-app-1 php -f /var/www/html/cron.php
|
|
@ -1,4 +1,3 @@
|
||||||
version: "3.9"
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "nextcloud"
|
image: "nextcloud"
|
||||||
|
@ -15,19 +14,5 @@ services:
|
||||||
- POSTGRES_DB=nextcloud
|
- POSTGRES_DB=nextcloud
|
||||||
- POSTGRES_USER=nextcloud
|
- POSTGRES_USER=nextcloud
|
||||||
- POSTGRES_PASSWORD=qw6MGQcaMkvG8sR9yVsU
|
- POSTGRES_PASSWORD=qw6MGQcaMkvG8sR9yVsU
|
||||||
|
- PHP_UPLOAD_LIMIT=16G
|
||||||
|
|
||||||
cron:
|
|
||||||
image: "nextcloud"
|
|
||||||
entrypoint: /cron.sh
|
|
||||||
restart: always
|
|
||||||
user: www-data
|
|
||||||
volumes:
|
|
||||||
- /mnt/Teka1/nextcloud:/var/www/html
|
|
||||||
- /mnt/Teka1/Videos:/mnt/Teka1/Videos
|
|
||||||
- /mnt/Teka2/Videos:/mnt/Teka2/Videos
|
|
||||||
- /mnt/Teka3/Videos:/mnt/Teka3/Videos
|
|
||||||
environment:
|
|
||||||
- POSTGRES_HOST=192.168.0.101
|
|
||||||
- POSTGRES_DB=nextcloud
|
|
||||||
- POSTGRES_USER=nextcloud
|
|
||||||
- POSTGRES_PASSWORD=qw6MGQcaMkvG8sR9yVsU
|
|
|
@ -50,7 +50,7 @@
|
||||||
"rpc-enabled": true,
|
"rpc-enabled": true,
|
||||||
"rpc-host-whitelist": "",
|
"rpc-host-whitelist": "",
|
||||||
"rpc-host-whitelist-enabled": false,
|
"rpc-host-whitelist-enabled": false,
|
||||||
"rpc-password": "{9101817e3fda279b216c16da0a41cc6ef8ff8f342lNFx6me",
|
"rpc-password": "{adbe4fb172c032c2d7a4f5a37e31172fb6b91f6eNx/VbAlf",
|
||||||
"rpc-port": 9091,
|
"rpc-port": 9091,
|
||||||
"rpc-socket-mode": "0750",
|
"rpc-socket-mode": "0750",
|
||||||
"rpc-url": "/transmission/",
|
"rpc-url": "/transmission/",
|
||||||
|
|
Loading…
Reference in New Issue