mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
add example of PHP FPM handler
This commit is contained in:
parent
be1ebce45f
commit
a0df82c2e7
|
@ -2,7 +2,10 @@ RewriteEngine on
|
|||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||
|
||||
<Files ~ "^swagger\.yaml">
|
||||
# Apache module
|
||||
SetHandler application/x-httpd-php
|
||||
# PHP FPM on Debian
|
||||
#SetHandler "proxy:unix:/var/run/php/php8.2-fpm.sock|fcgi://localhost/"
|
||||
<IfModule mod_headers.c>
|
||||
Header set Access-Control-Allow-Origin "*"
|
||||
Header set Access-Control-Allow-Methods "GET"
|
||||
|
|
Loading…
Reference in New Issue
Block a user