Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

아파치 웹 서버에서도 작동 할 수 있도록 #53

Open
gaon12 opened this issue Jan 2, 2019 · 5 comments
Open

아파치 웹 서버에서도 작동 할 수 있도록 #53

gaon12 opened this issue Jan 2, 2019 · 5 comments

Comments

@gaon12
Copy link

gaon12 commented Jan 2, 2019

현재 리버티 엔진은 nginx가 설치 된 서버에서만 작동하는데요. 아파치 웹 서버에서도 설치가 가능하도록 할 수 있나요?

@NessunKim
Copy link
Collaborator

@gaon12 네 조만간 도와드리겠습니다.

@zlzleking
Copy link

리버티 엔진은 자체적인 웹 서버로서 기능합니다.

nginx는 리버스 프록시로서만 작동하고요.

@fregmented
Copy link

fregmented commented Jan 2, 2019 via email

@gaon12
Copy link
Author

gaon12 commented Jan 2, 2019

@NessunKim 네 감사합니다.

@uyu423
Copy link

uyu423 commented Nov 21, 2022

apache2 sites-availables .conf sample

  • cat /etc/apache2/sites-available/some-wiki.conf
<VirtualHost *:80>
	# The ServerName directive sets the request scheme, hostname and port that
	# the server uses to identify itself. This is used when creating
	# redirection URLs. In the context of virtual hosts, the ServerName
	# specifies what hostname must appear in the request's Host: header to
	# match this virtual host. For the default virtual host (this file) this
	# value is not decisive as it is used as a last resort host regardless.
	# However, you must set it for any further virtual host explicitly.
	ProxyPreserveHost On
	ProxyRequests off
	ProxyPreserveHost On
	AllowEncodedSlashes NoDecode

	ProxyPass / http://localhost:3000/ nocanon
	ProxyPassReverse / http://localhost:3000/
	ProxyPassReverse / http://wiki.your.domain/

	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
	# error, crit, alert, emerg.
	# It is also possible to configure the loglevel for particular
	# modules, e.g.
	#LogLevel info ssl:warn
	ServerName wiki.your.domain

	ErrorLog ${APACHE_LOG_DIR}/somewiki/proxy_error.log
	CustomLog ${APACHE_LOG_DIR}/somewiki/proxy_access.log combined
	# For most configuration files from conf-available/, which are
	# enabled or disabled at a global level, it is possible to
	# include a line for only one particular virtual host. For example the
	# following line enables the CGI configuration for this host only
	# after it has been globally disabled with "a2disconf".
	#Include conf-available/serve-cgi-bin.conf
</VirtualHost>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants