Я в htaccess написал
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteEngine On
# If an existing asset or directory is requested go to it as it is
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]
RewriteRule ^ /dist/ng-intelserv/browser/index.html
</IfModule>
<VirtualHost *:80>
ServerName
ssr.intelserv.net.ua # <!-- modify here -->
ServerAlias
www.ssr.intelserv.net.ua # <!-- modify here -->
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://localhost:4000/
ProxyPassReverse / http://localhost:4000/
</VirtualHost>
<VirtualHost *:443>
ServerName
ssr.intelserv.net.ua # <-- modify here
ServerAlias
www.ssr.intelserv.net.ua # <-- modify here
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / https://localhost:4000/
ProxyPassReverse / https://localhost:4000/
</VirtualHost>