init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<VirtualHost *:80>
ServerAdmin ti@rkmsistemas.com.br
DocumentRoot /var/www/api/public
<Directory "/var/www/api/public">
Options -Indexes +MultiViews +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

View File

@@ -0,0 +1,24 @@
<VirtualHost *:8080>
ServerAdmin ti@rkmsistemas.com.br
DocumentRoot /var/www/frontend/dist
<Directory "/var/www/frontend/dist">
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
# vue-router esta em mode: 'history' (src/router/index.js).
# Sem este fallback, F5 em rota interna devolve 404.
FallbackResource /index.html
</Directory>
# O config.js nao tem hash no nome (nao passa pelo webpack), entao o browser
# o cachearia como qualquer estatico — e continuaria usando a URL do
# ambiente anterior depois de uma troca. Os demais assets podem cachear a
# vontade: o vue-cli poe hash de conteudo no nome deles.
<Files "config.js">
Header set Cache-Control "no-store, must-revalidate"
</Files>
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

18
docker/apache/ports.conf Normal file
View File

@@ -0,0 +1,18 @@
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
# Frontend (SPA Vue) — servido em vhost proprio na 8080.
Listen 8080
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet