Skocz do zawartości

Rafi

Użytkownicy
  • Postów

    82
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez Rafi

  1. Witam serdecznie 

    pisze do was z prośbą o pomoc otóż postawiłem kontener na proxmox z systemem Windows 2016 serwer lecz nie wiem dlaczego niema na nim internetu sterowniki do karty sieciowej są zainstalowane .

     

    W diagnostyce połączenia wyskakuje błąd z adresem ip lecz nie wiem  co zrobić aby rozwiązać problem 

     

    proszę o pomoc

  2. root@worker:~# df -h
    Filesystem                              Size  Used Avail Use% Mounted on
    /dev/mapper/RAID1_md4-vm--103--disk--1   99G   95G     0 100% /
    none                                    492K     0  492K   0% /dev
    cgroup_root                              10M     0   10M   0% /sys/fs/cgroup
    tmpfs                                   1.6G   48K  1.6G   1% /run
    tmpfs                                   5.0M     0  5.0M   0% /run/lock
    tmpfs                                   1.1G     0  1.1G   0% /run/shm
    tmpfs                                   4.0M     0  4.0M   0% /mnt/ramdisk
    tmpfs                                   1.1G  8.0K  1.1G   1% /tmp
    [email protected]:/tmp/hls              296G   48G  233G  17% /mnt/hls
    [email protected]:/var/www/thumb        296G   48G  233G  17% /mnt/preview
     

  3. Do apacha doinstalowane jest ngnix którego konfiguracja przedstawia się następująco :

     

     

    proxy_cache_path /tmp/nginx levels=1:2 keys_zone=static:10m inactive=4h max_size=1g;
    #proxy_cache_key "$request_method$host$request_uri";
    server {
    	listen   80; 
    	listen 443 ssl;
    	include ssl-djliveeu;
    
    	gzip on;
    	gzip_disable "msie6";
    
    	gzip_vary on;
    	gzip_proxied any;
    	gzip_comp_level 6;
    	gzip_buffers 16 8k;
    	gzip_types text/plain text/css application/json application/x-javascript application/javascript text/xml application/xml application/xml+rss text/javascript;
    	
    	root /var/www/html/djliveeu; 
    	index index.php index.html;
    
    	server_name djlive.eu api.djlive.eu app.djlive.eu; 
    
    	#location / {
    		#proxy_set_header X-Real-IP  $remote_addr;
    		#proxy_set_header X-Forwarded-For $remote_addr;
    		#proxy_set_header Host $host;
    		#proxy_pass http://127.0.0.1:8080;
    	#}
    	#location /ajax/chat {
    		#fastcgi_pass 127.0.0.1:9000;
    		#include fastcgi.conf;
    	#}
    	location = /ajax/chat/chatMessages.php {
    		fastcgi_pass unix:/var/run/php5-fpm.sock;
    		include fastcgi.conf;
    	}
    	#rewrite ^/v2/(.*)/streamInfo$ /api/v2/stream.php?name=$1 last;
    	#location = /api/v2/stream.php {
    		#fastcgi_pass unix:/var/run/php5-fpm.sock;
    		#include fastcgi.conf;
    	#}
    	location = /ajax/stream/viewers.php {
    		fastcgi_pass unix:/var/run/php5-fpm.sock;
    		include fastcgi.conf;
    	}
    	location = /ajax/privatemessages/getUnreadMessages.php {
    		fastcgi_pass unix:/var/run/php5-fpm.sock;
    		include fastcgi.conf;
    	}
    	location = /ajax/privatemessages/getMessagesList_html.php {
    		fastcgi_pass unix:/var/run/php5-fpm.sock;
    		include fastcgi.conf;
    	}
    	#location = /ajax/stream/viewers.php {
    	#	fastcgi_pass unix:/var/run/php5-fpm.sock;
    	#	include fastcgi.conf;
    	#}
    	location /.well-known {
    		alias /var/www/html/djliveeu/.well-known;
    	}
    	location /nginx-status {
    		stub_status on;
    		access_log off;
    	}
    	location ~* \.(eot|ttf|woff|woff2)$ {
    		add_header Access-Control-Allow-Origin *;
    	}
    	location / {
    		try_files $uri @proxy;
    	}
    	location ~* \.(js|css|jpg|jpeg|gif|png|svg|ico|pdf|html|htm)$ {
    		expires      14d;
    #		proxy_pass http://127.0.0.1:8080;
    #		proxy_set_header Host $host;
    #		proxy_cache static;
    #		proxy_cache_valid 200 1d;
    #		add_header X-Proxy-Cache $upstream_cache_status;
    	}
    	location @proxy {
    		proxy_pass http://127.0.0.1:8080;
    		include /etc/nginx/proxy_params;
    	}
    	location ~* \.php$ {
    		proxy_pass http://127.0.0.1:8080;
    		fastcgi_buffers 16 16k; 
    		fastcgi_buffer_size 32k;
    		include /etc/nginx/proxy_params;
    	}
    	location ~ /\.ht {
    		deny all;
    	}
    }
    server {
    	listen   80; 
    	listen 443 ssl;
    	include ssl-djliveeu;
    	server_name www.djlive.eu; 
    	return 301 https://djlive.eu$request_uri;
    }
    server {
    	listen   80; 
    	listen 443 ssl;
    	include ssl-djliveeu;
    
    
    	#root /var/www/html/djliveeu; 
    	index index.php index.html;
    
    	server_name live.djlive.eu sys.djlive.eu edge.live.djlive.eu v1.djlive.eu v.djlive.eu edge.preview.djlive.eu live-hls.djlive.eu stream_main.sterowanie24.pl; 
    	location /.well-known {
    		alias /var/www/html/djliveeu/.well-known;
    	}
    
    	location / {
    		proxy_set_header X-Real-IP  $remote_addr;
    		proxy_set_header X-Forwarded-For $remote_addr;
    		proxy_set_header Host $host;
    		proxy_set_header REMOTE_ADDR $remote_addr;
    		proxy_pass http://10.94.94.101:80;
    	}
    	location ~ /\.ht {
    		deny all;
    	}
    }
    server {
    	listen   80; 
    	listen 443 ssl http2;
    	include ssl-djliveeu;
    
    	location /.well-known {
    		alias /var/www/html/djliveeu/.well-known;
    	}
    
    	#root /var/www/html/djliveeu; 
    	index index.php index.html;
    
    	server_name img.djlive.eu; 
    
    	location /preview {
    		proxy_set_header X-Real-IP  $remote_addr;
    		proxy_set_header X-Forwarded-For $remote_addr;
    		proxy_set_header Host $host;
    		proxy_set_header REMOTE_ADDR $remote_addr;
    		proxy_pass http://10.94.94.101:80;
    	}
    	location ~ /\.ht {
    		deny all;
    	}
    }

     

  4. Witajcie mam taki problem mianowicie nie wiem dlaczego nie startuje mi virrtualhost dla nowej domeny mój plik cfg przedstawia sie następująco :

     

     

    <VirtualHost *:8080>
    	ServerName djlive.eu
    	ServerName www.djlive.eu
    
    	ServerAdmin [email protected]
    	DocumentRoot /var/www/html/djlivepl
    
    	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
    	# error, crit, alert, emerg.
    	# It is also possible to configure the loglevel for particular
    	# modules, e.g.
    	#LogLevel info ssl:warn
    
    	<Directory "/var/www/html/djlivepl">
    		AllowOverride All
    		Options -Indexes
    	</Directory>
    	ErrorLog ${APACHE_LOG_DIR}/error-djlivepl.log
    	CustomLog ${APACHE_LOG_DIR}/access-djlivepl.log combined
    </VirtualHost>
    <VirtualHost *:8080>
    	ServerName api.djlive.eu
    
    	ServerAdmin [email protected]
    	DocumentRoot /var/www/html/djliveeu/api
    
    	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
    	# error, crit, alert, emerg.
    	# It is also possible to configure the loglevel for particular
    	# modules, e.g.
    	#LogLevel info ssl:warn
    
    	<Directory "/var/www/html/djliveeu/api">
    		AllowOverride All
    		Options -Indexes
    	</Directory>
    	ErrorLog ${APACHE_LOG_DIR}/error-djliveeu-api.log
    	CustomLog ${APACHE_LOG_DIR}/access-djliveeu-api.log combined
    </VirtualHost>

    a zgłaszasie strona deafultowa www.djlive.eu

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Korzystając z forum, wyrażasz zgodę na: Warunki użytkowania, Regulamin, Polityka prywatności.