File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ location /.user.ini {
47
47
location ~* ^/setup($|/) {
48
48
root $MAGE_ROOT;
49
49
location ~ ^/setup/index.php {
50
+ deny all;
51
+ # If you want to enable the web based setup functionality, add your
52
+ # ip address to the allow list below or comment out the deny all above.
53
+ # allow 127.0.0.1;
54
+
50
55
fastcgi_pass fastcgi_backend;
51
56
52
57
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
Original file line number Diff line number Diff line change
1
+ # If you want to enable the web based setup functionality, add your ip address
2
+ # to the allow list below or comment out the IfVersion Deny deny blocks below.
3
+ <Files "index.php" >
4
+ <IfVersion < 2.4 >
5
+ order allow,deny
6
+ deny from all
7
+ </IfVersion >
8
+ <IfVersion >= 2.4 >
9
+ Require all denied
10
+ </IfVersion >
11
+ </Files >
12
+
1
13
Options -Indexes
2
14
3
15
<IfModule mod_rewrite.c >
You can’t perform that action at this time.
0 commit comments