freshrss-app/apache/freshrss.conf

56 lines
1.4 KiB
Plaintext
Raw Normal View History

2023-10-27 13:12:30 +00:00
# https://github.com/FreshRSS/FreshRSS/blob/edge/Docker/FreshRSS.Apache.conf
2023-10-27 08:36:22 +00:00
2021-05-10 23:08:30 +00:00
ServerName %{HTTP_HOST}
2017-02-17 08:45:48 +00:00
<VirtualHost *:8000>
DocumentRoot /app/code/p
2017-04-27 10:14:07 +00:00
AllowEncodedSlashes On
2017-02-17 08:45:48 +00:00
2021-05-10 22:53:24 +00:00
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
CustomLog "|/bin/cat" proxy
ErrorLog "|/bin/cat"
2017-02-17 08:45:48 +00:00
<Directory /app/code/p/>
2017-02-17 08:45:48 +00:00
Options +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
<Directory /app/code/p/api>
Include /app/code/p/api/.htaccess
</Directory>
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
<Directory /app/code/p/i>
ExpiresActive Off
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
<IfDefine OIDC_ENABLED>
AuthType openid-connect
Require valid-user
</IfDefine>
IncludeOptional /app/code/p/i/.htaccess
</Directory>
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
<Directory /app/code/p/themes>
Include /app/code/p/themes/.htaccess
</Directory>
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
<IfDefine OIDC_ENABLED>
OIDCProviderMetadataURL ${CLOUDRON_OIDC_DISCOVERY_URL}
OIDCClientID ${CLOUDRON_OIDC_CLIENT_ID}
OIDCClientSecret ${CLOUDRON_OIDC_CLIENT_SECRET}
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
OIDCRedirectURI /i/oidc/
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
OIDCCryptoPassphrase ${OIDC_CRYPTO_PASSPHRASE}
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
OIDCRemoteUserClaim sub
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
OIDCScope "openid profile email"
2023-10-27 08:36:22 +00:00
2023-10-27 13:12:30 +00:00
OIDCRefreshAccessTokenBeforeExpiry 30
OIDCPassClaimsAs headers
OIDCXForwardedHeaders X-Forwarded-Proto
2023-10-27 08:36:22 +00:00
</IfDefine>
2017-02-17 08:45:48 +00:00
</VirtualHost>