Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
aeb0f417
Commit
aeb0f417
authored
Feb 21, 2015
by
Grazyna Jaworska
Browse files
Nginx: Remove webform keyword from regex locations - fixes
#599
parent
594771a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
http/Provision/Config/Nginx/Inc/vhost_include.tpl.php
View file @
aeb0f417
...
...
@@ -852,9 +852,9 @@ location ~* /(?:modules|libraries)/(?:contrib/)?(?:ad|tinybrowser|f?ckeditor|tin
}
###
### Deny crawlers and never cache known AJAX
and webform
requests.
### Deny crawlers and never cache known AJAX requests.
###
location ~* /(?:ahah|ajax|batch|autocomplete|
webform|
done|progress/|x-progress-id|js/.*) {
location ~* /(?:ahah|ajax|batch|autocomplete|done|progress/|x-progress-id|js/.*) {
if ($is_bot) {
return 403;
}
...
...
http/Provision/Config/Nginx/subdir.tpl.php
View file @
aeb0f417
...
...
@@ -696,9 +696,9 @@ location ^~ /<?php print $subdir; ?> {
}
###
### Deny crawlers and never cache known AJAX
and webform
requests.
### Deny crawlers and never cache known AJAX requests.
###
location ~* ^/
<?php
print
$subdir
;
?>
/(.*(?:ahah|ajax|batch|autocomplete|
webform|
done|progress/|x-progress-id|js/.*).*)$ {
location ~* ^/
<?php
print
$subdir
;
?>
/(.*(?:ahah|ajax|batch|autocomplete|done|progress/|x-progress-id|js/.*).*)$ {
if ($is_bot) {
return 403;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment