Commit Graph

98 Commits

Author SHA1 Message Date
Andrea Dell'Amico 978229b0b2
More comprehensive list of rogue bots. 2025-01-17 20:05:34 +01:00
Andrea Dell'Amico 4b04781a9d Merge pull request 'Added 'always' directive as default to the 'Access-Control-Allow-Origin', see #28488#note-24' (!3) from new_cors_configs into master
Reviewed-on: #3
2024-12-18 12:27:04 +01:00
Francesco Mangiacrapa 7e4bb532be Added 'always' directive as default to the 'Access-Control-Allow-Origin', see #28488#note-24 2024-12-18 12:21:48 +01:00
Andrea Dell'Amico d70ea67b27 Merge pull request 'setting nginx_cors_limit_origin: true' (!2) from new_cors_configs into master
Reviewed-on: #2
2024-12-17 16:42:20 +01:00
Francesco Mangiacrapa 4e2cbca42a setting nginx_cors_limit_origin: true 2024-12-17 16:12:38 +01:00
Andrea Dell'Amico fb9c371665 Merge pull request 'Added `always` property to send headers even on response with http errors (e.g. 4xx or 5xx)' (!1) from new_cors_configs into master
Reviewed-on: #1
2024-12-17 15:52:24 +01:00
Francesco Mangiacrapa 57cfa7ea06 Added `always` property to sent headers also on http errors returned (e.g. 4xx or 5xx). See #28488#note-21 2024-12-17 12:20:56 +01:00
Andrea Dell'Amico c47961f9dc
Disable Access-Control-Allow-Credentials when nginx_cors_limit_origin. 2024-12-16 15:42:02 +01:00
Andrea Dell'Amico a0ce375254
Manage the chunked_transfer_encoding option in the virtualhost template. 2024-10-18 17:51:13 +02:00
Andrea Dell'Amico 37b9a73821
Hide Access-Control-Allow-Origin before adding it again. 2024-10-14 19:29:35 +02:00
Andrea Dell'Amico f2d22e9d53
Introduce nginx_access_control_allow_origin_src. 2024-06-11 14:49:32 +02:00
Andrea Dell'Amico e97690243d
Remove hiding Access-Control-Allow-Origin from the virtualhost. 2024-06-11 14:46:23 +02:00
Andrea Dell'Amico 99f5a5836f
Directive proxy_hide_header Access-Control-Allow-Origin; only when cors is global. 2024-06-06 12:55:53 +02:00
Andrea Dell'Amico 92c84d93c2
Remove a wrong 'proxy_hide_header' directive. 2024-06-06 12:30:24 +02:00
Andrea Dell'Amico 6f005d13a5
Globally hide the header Access-Control-Allow-Origin before adding it. 2024-06-06 12:22:36 +02:00
Andrea Dell'Amico 634744cd71
hide the header Access-Control-Allow-Origin before adding it. 2024-06-06 12:17:25 +02:00
Andrea Dell'Amico fea452d7b1
Manage the parameter proxy_request_buffering. 2024-05-30 11:29:03 +02:00
Andrea Dell'Amico 7f09d1d812
Fix the dotfiles regexp, finally. 2024-05-03 18:51:15 +02:00
Andrea Dell'Amico 47fa70ebb3
Give the options to allow dotfiles other than '.ht*', 5th try. 2024-05-03 18:41:30 +02:00
Andrea Dell'Amico fca15f343f
Give the options to allow dotfiles other than '.ht*', 4th try. 2024-05-03 18:34:21 +02:00
Andrea Dell'Amico 12e63b3968
Give the options to allow dotfiles other than '.ht*', third try. 2024-05-03 18:28:37 +02:00
Andrea Dell'Amico 05103a008b
Give the options to allow dotfiles other than '.ht*', second try. 2024-05-03 18:25:48 +02:00
Andrea Dell'Amico 4999eaa896
Give the options to allow dotfiles other than '.ht*'. 2024-05-03 18:19:39 +02:00
Andrea Dell'Amico 9b7cc5b11a
server_names_hash_bucket_size is now a variable. 2024-03-12 10:13:04 +01:00
Andrea Dell'Amico 3ff421cee3
A couple of new tunable timeouts. 2023-08-03 13:11:49 +02:00
Andrea Dell'Amico 442f809f83
Some cleanup 2023-08-03 12:19:36 +02:00
Andrea Dell'Amico 6d5a8f6fa8
Make ssl stapling conditional 2023-07-13 13:10:04 +02:00
Andrea Dell'Amico b25d586850
Change the default fullchain path 2023-07-13 12:57:02 +02:00
Andrea Dell'Amico bef6836069
Remove the usage of nginx_use_common_virthost 2023-06-30 19:14:44 +02:00
Andrea Dell'Amico e6b061a043
install passlib for python2 on 18.04 2023-06-07 11:04:40 +02:00
Andrea Dell'Amico 3e520d4ed4
Install python3-passlib 2023-03-01 16:08:49 +01:00
Andrea Dell'Amico 4b4aee4ab4
Other attempt to filter on nginx_virthosts length. 2022-10-13 17:09:06 +02:00
Andrea Dell'Amico 2c62fcff8c
Restore the previous behaviour. 2022-10-13 17:04:14 +02:00
Andrea Dell'Amico 10fcf1a5cf
Fix the filter. 2022-10-13 16:59:52 +02:00
Andrea Dell'Amico da19e17bf2
Check the lenght of nginx_virtualhosts. 2022-10-13 16:54:55 +02:00
Andrea Dell'Amico bb11224fb6
Another attempt to fix the missing item.root. 2022-06-11 18:08:11 +02:00
Andrea Dell'Amico 017e29776e
Do not fail if item.root is not defined. 2022-06-11 18:04:16 +02:00
Andrea Dell'Amico a8c3397460
Option to change the x-forwarded-proto header. 2022-05-11 11:18:07 +02:00
Andrea Dell'Amico bfe0009143
Missing conditionals. 2022-05-01 18:33:28 +02:00
Andrea Dell'Amico dab721eb60
Remote files in conf.d 2022-05-01 18:23:10 +02:00
Andrea Dell'Amico 8f099c62f2
proxy_additional_options -> proxy_global_... 2022-05-01 18:15:54 +02:00
Andrea Dell'Amico 611446839f
Missing {% endif %} 2022-05-01 18:11:58 +02:00
Andrea Dell'Amico 8adbe0a457
Remove a occurrence of proxy_additional_options 2022-05-01 18:07:55 +02:00
Andrea Dell'Amico 516375292a
proxy additional options are global. 2022-05-01 18:07:07 +02:00
Andrea Dell'Amico f0d5347568
Additional options out of the 'server' declaration. 2022-05-01 18:00:25 +02:00
Andrea Dell'Amico 5bc066b137
Move locations out of the proxy conditional. 2022-05-01 17:23:58 +02:00
Andrea Dell'Amico c070cba810
Do not change user when downloading locally. 2022-05-01 17:15:12 +02:00
Andrea Dell'Amico e9936c3451
Fix the name of a variable. 2022-05-01 17:12:47 +02:00
Andrea Dell'Amico a5045c6f94
Duplicate option. 2022-05-01 17:07:30 +02:00
Andrea Dell'Amico 84c5073620
Process any remote configuration templates. 2022-05-01 16:49:59 +02:00