{"id":1201,"date":"2015-12-24T12:51:47","date_gmt":"2015-12-24T10:51:47","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=1201"},"modified":"2015-12-24T12:51:47","modified_gmt":"2015-12-24T10:51:47","slug":"basit-nginx-config-ornegi","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2015\/12\/24\/basit-nginx-config-ornegi\/","title":{"rendered":"basit nginx config ornegi"},"content":{"rendered":"<p>Basitce sunucuda bulunan bir dizini nginix ile paylasmam gerekti.<\/p>\n<p>ancak guzelde olsun istedim.<\/p>\n<p>cokbasit nginix configi<\/p>\n<pre>\r\n\r\n# Default server configuration\r\n#\r\nserver {\r\n        listen 80 default_server;\r\n        listen [::]:80 default_server;\r\n\r\n        # SSL configuration\r\n        #\r\n        # listen 443 ssl default_server;\r\n        # listen [::]:443 ssl default_server;\r\n        #\r\n        # Note: You should disable gzip for SSL traffic.\r\n        # See: https:\/\/bugs.debian.org\/773332\r\n        #\r\n        # Read up on ssl_ciphers to ensure a secure configuration.\r\n        # See: https:\/\/bugs.debian.org\/765782\r\n        #\r\n        # Self signed certs generated by the ssl-cert package\r\n        # Don't use them in a production server!\r\n        #\r\n        # include snippets\/snakeoil.conf;\r\n\r\n        root \/var\/www\/html;\r\n\r\n        # Add index.php to the list if you are using PHP\r\n        index index.html index.htm index.nginx-debian.html;\r\n\r\n        server_name besdokuz.ee.pe;\r\n\r\n        location \/ {\r\n                # First attempt to serve request as file, then\r\n                # as directory, then fall back to displaying a 404.\r\n                try_files $uri $uri\/ =404;\r\n        }\r\n\r\n  location \/TOPGEAR {\r\n        autoindex on;\r\n        fancyindex on;\r\n        fancyindex_exact_size off;\r\n    alias \/home\/shukko\/Downloads\/TOPGEAR;\r\n  }\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Basitce sunucuda bulunan bir dizini nginix ile paylasmam gerekti. ancak guzelde olsun istedim. cokbasit nginix configi # Default server configuration # server { listen 80 default_server; listen [::]:80 default_server; # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable gzip for SSL traffic. # See: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1201","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=1201"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1201\/revisions"}],"predecessor-version":[{"id":1202,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1201\/revisions\/1202"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=1201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=1201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=1201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}