apple3000 Posted June 18, 2019 Share #1 Posted June 18, 2019 example, default nginx version is 1.12.1 in DSM 6.2 Now I want to stream media with rtmp. But default 1.12.1 does not support. so I want to use nginx to support rtmp module. (there is at public forum.) is there method to change as another one? At Widows, Just stop nginx. and replace to new nginx.exe. Quote Link to comment Share on other sites More sharing options...
Olegin Posted June 18, 2019 Share #2 Posted June 18, 2019 (edited) In DSM 6.2.2 u1 $ nginx -V nginx version: nginx/1.15.7 Try to reinstall Web Station. Edited June 18, 2019 by Olegin Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted June 18, 2019 Share #3 Posted June 18, 2019 I think reinstalling Web Station will have no effect on nginx's version. Maybe I am wrong. nginx is part of DSM core and is not installed with Web Station as far as am aware. I haven't checked though. He would need to update DSM to DSM 6.2.2 in order to update nginx. In my test VM instance of DSM 6.2-23739 (DS3615xs) I have this version installed: root@test:~# nginx -V nginx version: nginx/1.13.3 TLS SNI support enabled In my test VM instance of DSM 6.2-23739 Update 2 (DS3617x) I have the same version installed: root@jun103b3617xs:~# nginx -V nginx version: nginx/1.13.3 TLS SNI support enabled Installing Web Station had no effect on the versions of ngnix and Web Station was never installed before. So I tried updating to DSM 6.2.1 on the DS3617x instance to check nginx's version but I forgot that I needed the e1000e module so the update ended up in a kernel panic. Then I realised that was stupid as I could have checked the binaries inside the PAT file. In DSM 6.2.1 ngnix is still v1.13.3 so I think he should update to at least DSM 6.2.2 to update ngnix to a higher version. Quote Link to comment Share on other sites More sharing options...
Olegin Posted June 18, 2019 Share #4 Posted June 18, 2019 @Polanskiman Yes, you are ridht. I tried on my test VM with 918 DSM. 6.2, 6.2.1 - the ndinx version is 1.13.3 6.2.2 - the nginx version is 1.15.7 Quote Link to comment Share on other sites More sharing options...
apple3000 Posted June 18, 2019 Author Share #5 Posted June 18, 2019 8 hours ago, Olegin said: @Polanskiman Yes, you are ridht. I tried on my test VM with 918 DSM. 6.2, 6.2.1 - the ndinx version is 1.13.3 6.2.2 - the nginx version is 1.15.7 thanks. but i need nginx to support rtmp and hls and etc. does nginx in DSM support that? refer this. https://github.com/Looooopy/patch_synology_nginx Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted June 19, 2019 Share #6 Posted June 19, 2019 I was able to update the version of nginx on DSM_DS3617xs_23739 by simply extracting the nginx binary from DSM_DS3617xs_24922 PAT file and replacing the default one with the newer version. This said it will not solve your problem as you need rtmp and that's not configured in DSM's nginx. Also even if this worked it would not survive a DSM update. Therefore what you want to do can be done but with docker, as your link suggests. I didn't look into detail your link but it seem feasible so give it a shot and let us know. I am by no means an expert in the area so if anyone can provide more technical information please chime in. Quote Link to comment Share on other sites More sharing options...
apple3000 Posted June 19, 2019 Author Share #7 Posted June 19, 2019 28 minutes ago, Polanskiman said: I was able to update the version of nginx on DSM_DS3617xs_23739 by simply extracting the nginx binary from DSM_DS3617xs_24922 PAT file and replacing the default one with the newer version. This said it will not solve your problem as you need rtmp and that's not configured in DSM's nginx. Also even if this worked it would not survive a DSM update. Therefore what you want to do can be done but with docker, as your link suggests. I didn't look into detail your link but it seem feasible so give it a shot and let us know. I am by no means an expert in the area so if anyone can provide more technical information please chime in. thanks. i added rtmp part in nginx conf. but not working. so must be compile with module. default nginx does not support module. as you say, i need to set docker with ngnix rtmp module. thanks a lot. Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted June 19, 2019 Share #8 Posted June 19, 2019 You are welcome! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.