Giter VIP home page Giter VIP logo

Comments (17)

petrichbg avatar petrichbg commented on May 27, 2024

Now I tried in my work without problem

from stream-site.

kimmoda avatar kimmoda commented on May 27, 2024

in my case ı have a many problem

from stream-site.

kimmoda avatar kimmoda commented on May 27, 2024

this is my part

http://jetgez.com/login

404 not found.

from stream-site.

petrichbg avatar petrichbg commented on May 27, 2024

http://galaxy.net-plus.bg:8000

this is my now i try to reg new user no problem

https://galaxy.net-plus.bg/login/verify/[email protected]/05e07bea4a90040e29f40f131aae57469a08b52c7adaf026a78a45ac34df8b04

from stream-site.

kimmoda avatar kimmoda commented on May 27, 2024

cool , you can help for installation ?

from stream-site.

petrichbg avatar petrichbg commented on May 27, 2024

to say what can I help you?

from stream-site.

kimmoda avatar kimmoda commented on May 27, 2024

ı upload project files in my vds account server and ı make database confugration but my login page not showing Where do i make mistakes . this is my test page

http://jetgez.com/login

from stream-site.

petrichbg avatar petrichbg commented on May 27, 2024

you need to configure nginx with all module and use php7 !!!

see this https://github.com/Fenrirthviti/stream-site/blob/master/src/nginx/sites-available/main.conf

from stream-site.

petrichbg avatar petrichbg commented on May 27, 2024

`# This server block is used as a proxy to enable the on_publish directive to access an SSL page, as it doesn't directly support it.

If you're not using SSL, you can remove this block and simply point to the streamauth.php on line 27 of /conf.d/rtmp.conf

server {
listen 8020;
location /on_publish {
#allow 127.0.0.1;
allow all;
deny all;
proxy_pass https://galaxy.net-plus.bg/lib/streamauth.php;
}

}

This block enforces SSL. If you're not using SSL, you can remove it and change the next server block to listen over port 80.

server {
listen 8000;
server_name galaxy.net-plus.bg _ 192.168.7.143;
return 301 https://$host$request_uri;
}

server {
listen 443 ssl;

	server_name     galaxy.net-plus.bg _ 192.168.7.143;

    ssl on;

ssl_certificate /etc/letsencrypt/live/galaxy.net-plus.bg/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/galaxy.net-plus.bg/privkey.pem;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';

	# adjust root directory as needed
	root /var/www/html;
	index index.php index.html index.htm;

try_files $uri $uri/ /index.php?$args;

	location / {
			# This should allow the content to be retrieved from any location. If you're using this internally, you can probably remove most of this.
			add_header 'Access-Control-Allow-Origin' '*';
			add_header 'Access-Control-Expose-Headers' 'Content-Length';
			add_header 'Access-Control-Allow-Headers' 'Range';
			if ($request_method = 'OPTIONS') {
					add_header 'Access-Control-Allow-Origin' '*';
					add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
					#
					# Custom headers and headers various browsers *should* be OK with but aren't
					#
					add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
					#
					# Tell client that this pre-flight info is valid for 20 days
					#
					add_header 'Access-Control-Max-Age' 1728000;
					add_header 'Content-Type' 'text/plain charset=UTF-8';
					add_header 'Content-Length' 0;
					return 204;
			}
			if ($request_method = 'POST') {
					add_header 'Access-Control-Allow-Origin' '*';
					add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
					add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
			}
			if ($request_method = 'GET') {
					add_header 'Access-Control-Allow-Origin' '*';
					add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
					add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
			}

			# rewrite for pretty URLs. This is REQUIRED.
			rewrite /(.*)$ / break;
	}

	# php processor
	location ~ \.php$ {
			try_files $uri =404;
			fastcgi_pass 127.0.0.1:9000;
			fastcgi_index index.php;
			fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
			include fastcgi_params;
	}

	# Rewrite for index, popout player, reset form, and REST API. REQUIRED.
	rewrite /login(.*)$ /login.php last;
	rewrite /popout/(.*)$ /lib/popout.php last;
	rewrite /lostpass(.*)$ /reset.php last;
	rewrite /api/(.*)$ /api/index.php last;
	
	# exclude our data locations from URL rewrite. REQUIRED.
	location /css { }
	location /img { }
	location /inc { }
	location /js { }
	location /lib { }
	location /xsl { }
	location /profiles { }
	location /favicon.ico { }

	# Serve recorded sessions
	location /rec {
			root /var/tmp;
			autoindex off; # directory list prevented. Enable this if you want to see all your recordings at your.site/rec
	}

	# RTMP Stat
	location /stat {
			rtmp_stat all;
			rtmp_stat_stylesheet stat.xsl;
	}
	
	location /stat.xsl {
			root /var/www/html/xsl/;
	}

	# RTMP Control
	location /control {
			# add the IPs you want to have access to directly control streams. Minimum required is localhost and the public server IP, which is used by the site itself to start/stop recordings
			allow 127.0.0.1;
			allow all;
			deny all;
			rtmp_control all;
	}
	
	# used to grab viewercount
	location /nclients {
			satisfy any;
			allow all;
			deny all;
			proxy_pass https://galaxy.net-plus.bg/stat;
			xslt_stylesheet /var/www/html/xsl/nclients.xsl app='$arg_app' name='$arg_name';
			add_header Refresh "3; $request_uri";
	}

	# these pages not included, you must supply your own or leverage inc/404.php
	error_page   500 502 503 504  /50x.html;
	location = /50x.html {
			root   html;
	}

Serve HLS fragments

location /hls {
    root /var/tmp;
    add_header Cache-Control no-cache;
    types {
        application/vnd.apple.mpegurl m3u8;
        video/mp2t ts;
    }


}



    location ~ /.well-known {
            allow all;
    }

}

`

this is my nginx site

from stream-site.

petrichbg avatar petrichbg commented on May 27, 2024

Use SSL with or remove it !!!

free-ssl-certificates-lets-encrypt

I hope in the future to add Auto lets-encrypt

from stream-site.

kimmoda avatar kimmoda commented on May 27, 2024

what is your host provider ?

from stream-site.

kimmoda avatar kimmoda commented on May 27, 2024

also thanks for informations.

from stream-site.

petrichbg avatar petrichbg commented on May 27, 2024

i use my hosting

streaming
Guest OS
Debian GNU/Linux 10 (64-bit)
Compatibility
ESXi 6.5 and later (VM version 13)
VMware Tools
No
CPUs
2
Memory
2 GB

from stream-site.

kimmoda avatar kimmoda commented on May 27, 2024

cool . thanks. pls check your mailbox

from stream-site.

petrichbg avatar petrichbg commented on May 27, 2024

which email ?

from stream-site.

kimmoda avatar kimmoda commented on May 27, 2024

[email protected]

from stream-site.

Fenrirthviti avatar Fenrirthviti commented on May 27, 2024

Closing as this is an install issue and not a problem with the site itself.

from stream-site.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.