You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, **maintenance.yaml** configuration file remains when running `maintenance:disable` or via admin panel using toggle disable
88
93
Nevertheless passing option `[-c|--clear]` to command line above will reset previous saved configuration
@@ -91,9 +96,10 @@ Nevertheless passing option `[-c|--clear]` to command line above will reset prev
91
96
92
97
- Enable/disable the plugin
93
98
- Allow access for one or multiple ips addresses (optional)
94
-
- Allow access for secret token (optional)
99
+
- Allow access for secret token (session and request) (optional)
95
100
- Create your custom message (optional)
96
101
- Grant access to search bots during maintenance (optional)
102
+
- Grant access to admins during maintenance (optional)
97
103
98
104
### If you want to put the **maintenance.yaml** in a directory, please add your directory in .env:
99
105
@@ -123,6 +129,11 @@ framework:
123
129
adapter: cache.adapter.redis
124
130
```
125
131
132
+
### Precisions for access token
133
+
134
+
Once token is generated, disallowing maintenance will be available thought request as well.
135
+
So you can use it as query parameter `?synolia_maintenance_token={$token}` or in headers `HTTP_SYNOLIA_MAINTENANCE_TOKEN: token`for a particular request to bypass maintenance mode.
0 commit comments