Elegancko! wszystko teraz śmiga.
Został problem z fastdll, a mianowicie pobiera strasznie wolno i laguje zanim zacznie teraz pobierać.
- Zainstalowałem" sudo apt install nginx "
- Do server.cfg dodałem:
- sv_downloadurl "http://IPVVPS/cstrike"
- sv_allowdownload 1
- sv_allowupload
plik defult.cfg nging:
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# https://www.nginx.com/resources/wiki/start/
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
# https://wiki.debian.org/Nginx/DirectoryStructure
##
# Default server configuration
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}
location /cstrike/ {
autoindex on;
tcp_nopush on;
add_header Cache-Control "public, max-age=31536000"; # Cache 1 rok
types {
application/octet-stream bsp mdl vtx phy ztmp spr mp3 wav;
image/jpeg jpg;
text/plain log;
}
}
# location ~ \.php$ {
# include snippets/fastcgi-php.conf;
# fastcgi_pass unix:/run/php/php7.4-fpm.sock;
# }
# location ~ /\.ht {
# deny all;
# }
}


Dodatki SourceMod




Moja zawartość
Mężczyzna