Skip to content

Webszerver csere dokumentálása #14

@jmarton

Description

@jmarton

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 ...
------------------>%---------------------

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions