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 {
4747location ~* ^/setup($|/) {
4848 root $MAGE_ROOT;
4949 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+
5055 fastcgi_pass fastcgi_backend;
5156
5257 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+
113Options -Indexes
214
315<IfModule mod_rewrite.c >
You can’t perform that action at this time.
0 commit comments