Notices where this attachment appears
-
@mint @i @splitshockvirus <VirtualHost *:443>
#CustomLog "/var/log/httpd/annihilation.social.log" common
ServerName annihilation.social
#ServerAlias nfg3pbejnvp4xxppglvtj7trfwhkesnsj2cxmsjlvipqnjqpedacngyd.onion
DocumentRoot /var/www/frenhost
# Uncomment the following to enable MediaProxy caching on disk
CacheRoot /tmp/pleroma-media-cache/
CacheDirLevels 1
CacheDirLength 2
CacheEnable disk /proxy
CacheLock on
CacheHeader on
CacheDetailHeader on
## 16MB max filesize for caching, configure as desired
CacheMaxFileSize 16000000
CacheDefaultExpire 86400
proxypass /joe.mp4 !
proxypass /anni.png !
proxypass /images/city.jpg http://annihilation.social/anni.png
RewriteEngine On
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://127.0.0.1:7776/$1 [P,L]
#ProxyRequests must be off or you open your server to abuse as an open proxy
ProxyRequests off
ProxyPass / http://127.0.0.1:7776/
ProxyPassReverse / http://127.0.0.1:7776/
ProxyPreserveHost On
SSLCertificateFile /etc/letsencrypt/live/annihilation.social/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/annihilation.social/privkey.pem
ErrorLog /var/log/httpd/anni.error.log
CustomLog /var/log/httpd/anni.access.log combined
<Location /api/v1/pleroma/admin>
Require ip 23.24.204.110
</Location>
<Location /api/pleroma/admin>
Require ip 23.24.204.110
</Location>
</VirtualHost>