Our great sponsors
-
nginx-ultimate-bad-bot-blocker
Nginx Block Bad Bots, Spam Referrer Blocker, Vulnerability Scanners, User-Agents, Malware, Adware, Ransomware, Malicious Sites, with anti-DDOS, Wordpress Theme Detector Blocking and Fail2Ban Jail for Repeat Offenders
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
the subdomain example nginx config from NextCloud with a few changes like TLSv1.3 only, geoblocking and some bot blocking from here and a few other security tweaks. The nginx file is basically a server block as an include separate from the main nginx.conf. The configuration gets an A+ in security from NextCloud's checker and others.
I would use a Docker image, that is much easier.
you could have a look here: https://github.com/dp7hgh7/nextcloud-compose. That's what I currently use. it's containerized but maybe it gives some hints. beware that pg15 is not official supported.
Related posts
- docker examples' reverse proxy suddenly erroring
- NextCloud on docker container - 400 Bad Request The plain HTTP request was sent to HTTPS port
- NextCloud in docker container with pre-existing nginx container
- When you finally get rid of all the Nextcloud setup warnings
- Has Anyone Created A Working Docker Container?