We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 094137c commit cac8b13Copy full SHA for cac8b13
dev/openmage/nginx-frontend.conf
@@ -153,6 +153,15 @@ server {
153
location /api/ { return 404; }
154
location /api.php { return 404; }
155
156
+ # Clients use the frontend to call API
157
+ #location /api {
158
+ # root $webroot;
159
+ # rewrite ^/api/(\w+).*$ /api.php?type=$1 last;
160
+ # set $fastcgi_script_filename $webroot/api.php;
161
+ # set $fastcgi_script_name2 /api.php;
162
+ # try_files NOT_EXISTS @php-fpm;
163
+ #}
164
+
165
# Protect dot files no matter where they are located
166
location ~ /\. { return 404; }
167
0 commit comments