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

Webszerver csere dokumentálása #14

Open
jmarton opened this issue Jan 21, 2018 · 3 comments
Open

Webszerver csere dokumentálása #14

jmarton opened this issue Jan 21, 2018 · 3 comments

Comments

@jmarton
Copy link
Member

jmarton commented Jan 21, 2018

Az install dokumentációban át kellene vezetni, hogy nginx helyett Apache httpd lett a webszerver.

Ehhez raw info:

# a2enmod ssl proxy_http
# a2ensite default-ssl
# vim /etc/apache2/sites-enabled/000-default.conf
------------------>%---------------------
	#DocumentRoot /var/www/html
	Redirect permanent / https://fecske.db.bme.hu/
------------------>%---------------------
# vim /etc/apache2/sites-enabled/default-ssl.conf
------------------>%---------------------
		#DocumentRoot /var/www/html
DocumentRoot /srv/http/szglab5-frontend/dist
ProxyPass /api http://127.0.0.1:7000
ProxyPreserveHost On
# az X-Forwarded-For automatikusan beallitasra kerul ProxyPass hasznalatakor
<Directory /srv/http/szglab5-frontend/dist>
       Options Indexes FollowSymLinks
       AllowOverride None
       Require all granted
</Directory>
SSLCertificateFile ...
SSLCertificateKeyFile ...
SSLCertificateChainFile ...
------------------>%---------------------
@csutorasr
Copy link
Collaborator

Miert lett lecserelve?

@jmarton
Copy link
Member Author

jmarton commented Jan 23, 2018

@csutorasr a címtár integráció (bme-db-lab/szglab5-backend#39, #15) első lépéseként került lecserélésre.

Ugyanis Apache httpd alatt standard Debian csomagból elérhető a Shibboleth modul, és már dolgoztam is vele, és a httpd-t jobban is ismerem. Ezzel szemben nginx-hez külön modult kell fordítani, és külön karbantartani/frissíteni, l. https://github.com/nginx-shib/nginx-http-shibboleth

@jmarton
Copy link
Member Author

jmarton commented Feb 20, 2018

Szintén dokumentálandó: bme-db-lab/szglab5-backend#104

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

No branches or pull requests

2 participants