Upload files to "/"

This commit is contained in:
2024-10-17 16:33:32 +03:00
parent 19d5833384
commit c05d0cb24a
5 changed files with 68 additions and 0 deletions

11
000-default.conf Normal file
View File

@@ -0,0 +1,11 @@
<VirtualHost *:88>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory /var/www/html/stalker_portal/>
Options -Indexes -MultiViews
AllowOverride ALL
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

View File

@@ -0,0 +1,11 @@
--- build.xml 2022-04-17 19:11:36.496233879 +0100
+++ build2.xml 2022-04-17 19:10:46.032158712 +0100
@@ -106,7 +106,7 @@
</then>
</if>
- <exec command="curl -sS https://getcomposer.org/installer | php -- --install-dir=${project_path}/deploy/composer/ --filename=composer.deploy.phar" level="info" outputProperty="install.error.msg" returnProperty="install.error.code"/>
+ <exec command="curl -sS https://getcomposer.org/installer | php -- --install-dir=${project_path}/deploy/composer/ --filename=composer.deploy.phar --version=1.9.1" level="info" outputProperty="install.error.msg" returnProperty="install.error.code"/>
<exec command="${project_path}/deploy/composer/composer.deploy.phar self-update 1.9.0" level="info" />
<exec command="chmod +x ${project_path}/storage/tvarchive.sh" level="info"/>
<exec command="rm -f ${project_path}/deploy/ministra/composer.lock" level="info"/>

16
custom.ini Normal file
View File

@@ -0,0 +1,16 @@
default_stb_status = 0
auto_add_stb = false
; 1 - on, 0 - off
;default_stb_status = 0
auth_url = http://localhost/stalker_portal/server/tools/auth_simple.php
enable_service_button = true
display_menu_after_loading = true
enable_m3u_file = false
tv_tmp_link_ttl = 5

15
default Normal file
View File

@@ -0,0 +1,15 @@
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://127.0.0.1:88/;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}
location ~* \.(htm|html|jpeg|jpg|gif|png|css|js)$ {
root /var/www/html;
expires 30d;
}
}

15
ports.conf Normal file
View File

@@ -0,0 +1,15 @@
# 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 88
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet