Skip to content

Apache2 as webserver for Misskey #9451

Discussion options

You must be logged in to vote
<VirtualHost *:443>

	# This is a working example for Apache as a ReverseProxy in front of Calckey
	# Change the "ServerName", "ServerAdmin" to the correct values in your environment

	ServerName example.net
	ServerAdmin [email protected]
	DocumentRoot /var/www/
	#LogLevel info ssl:warn
	ErrorLog ${APACHE_LOG_DIR}/calckey.log
	CustomLog ${APACHE_LOG_DIR}/calckey.log combined

	# Change the 127.0.0.1 to the IP of your Calckey Server. If you are running Calckey on the same machine as Apache - you can let the value be 127.0.0.1
	# This rewrite need to be in place, in order to upgrade the WebSocket connection to the application

	RewriteEngine On
	RewriteCond %{HTTP:Upgrade} =websocket [NC]
	…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@DarkShyMW
Comment options

Answer selected by DarkShyMW
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants