OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
34
.dev/dev-apache-site.conf
Normal file
34
.dev/dev-apache-site.conf
Normal file
@@ -0,0 +1,34 @@
|
||||
<VirtualHost *:8080>
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/html/public
|
||||
|
||||
# Pass the Authorization header through to PHP so $request->bearerToken() works.
|
||||
# Without this, Apache strips it (it only lands in HTTP_AUTHORIZATION), Laravel's
|
||||
# Sanctum guard never sees the Bearer token, and the test env silently exercises a
|
||||
# different auth path than production — which is how the 3.9.x Bearer role regression
|
||||
# slipped past CI. With it, BearerApiCest goes through the real Sanctum-guard path.
|
||||
<Directory /var/www/html/public>
|
||||
CGIPassAuth On
|
||||
</Directory>
|
||||
|
||||
ErrorLog /var/www/html/storage/logs/apacheError.log
|
||||
CustomLog /var/www/html/storage/logs/access.log combined
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:443>
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/html/public
|
||||
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/ssl/certs/cert.pem
|
||||
SSLCertificateKeyFile /etc/ssl/private/key.pem
|
||||
|
||||
SetEnv HTTPS "on"
|
||||
|
||||
<Directory /var/www/html/public>
|
||||
CGIPassAuth On
|
||||
</Directory>
|
||||
|
||||
ErrorLog /var/www/html/storage/logs/apacheError.log
|
||||
CustomLog /var/www/html/storage/logs/access.log combined
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user