{"id":1132,"date":"2019-11-27T12:13:30","date_gmt":"2019-11-27T19:13:30","guid":{"rendered":"https:\/\/help.foosales.com\/docs\/frequently-asked-questions\/errors\/how-do-i-configure-foosales-to-work-with-an-nginx-server\/"},"modified":"2022-06-07T13:52:30","modified_gmt":"2022-06-07T19:52:30","slug":"jak-skonfigurowac-foosales-do-pracy-z-serwerem-nginx","status":"publish","type":"docs","link":"https:\/\/help.foosales.com\/pl\/docs\/frequently-asked-questions\/setup\/how-do-i-configure-foosales-to-work-with-an-nginx-server\/","title":{"rendered":"Jak skonfigurowa\u0107 FooSales do pracy z serwerem NGINX?"},"content":{"rendered":"<p>Je\u015bli witryna dzia\u0142a na <strong>Serwer NGINX<\/strong> i kupi\u0142e\u015b <strong>FooSales dla WooCommerce<\/strong>\u00a0subskrypcja od <strong>WooCommerce Marketplace<\/strong>, dodaj poni\u017cszy wiersz kodu do pliku konfiguracyjnego serwera i zrestartuj serwer, aby upewni\u0107 si\u0119, \u017ce dzia\u0142a poprawnie:<\/p>\n<p><em>rewrite ^\/foosales\/static\/(.*) \/wp-content\/plugins\/foosales-for-woocommerce\/public\/build\/static\/$1;<\/em><\/p>\n<p><strong>Uwaga<\/strong> \u017ce to powinno <strong>nie<\/strong> mo\u017cna doda\u0107 do dowolnego pliku wtyczki, pliku wp-config.php lub pliku functions.php motywu. Nale\u017cy je doda\u0107 do pliku konfiguracyjnego serwera i zaleca si\u0119, aby administrator serwera dokona\u0142 tych zmian. Aby uzyska\u0107 wi\u0119cej informacji na temat dodawania regu\u0142 przepisywania do serwera Nginx, zapraszamy do <a class=\"c-link\" tabindex=\"-1\" href=\"https:\/\/www.nginx.com\/blog\/creating-nginx-rewrite-rules\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" data-stringify-link=\"https:\/\/www.nginx.com\/blog\/creating-nginx-rewrite-rules\/\" data-sk=\"tooltip_parent\" data-remove-tab-index=\"true\">przeczytaj ten post<\/a>\u00a0na oficjalnym blogu Nginx.<\/p>","protected":false},"featured_media":0,"parent":143,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_tag":[114,116,112,115,113],"class_list":["post-1132","docs","type-docs","status-publish","hentry","doc_tag-configuration","doc_tag-includes","doc_tag-nginx","doc_tag-rewrite-rules","doc_tag-server"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/docs\/1132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/comments?post=1132"}],"version-history":[{"count":0,"href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/docs\/1132\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/docs\/143"}],"next":[{"title":"Nie mog\u0119 uzyska\u0107 dost\u0119pu do FooSales z powodu b\u0142\u0119du dost\u0119pu do pliku XML-RPC?","link":"https:\/\/help.foosales.com\/pl\/docs\/frequently-asked-questions\/setup\/im-unable-to-access-foosales-due-to-a-xml-rpc-file-access-error\/","href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/docs\/481"}],"prev":[{"title":"Czy mog\u0119 pod\u0142\u0105czy\u0107 aplikacj\u0119 FooSales do szuflady na got\u00f3wk\u0119?","link":"https:\/\/help.foosales.com\/pl\/docs\/frequently-asked-questions\/setup\/can-i-connect-the-foosales-app-to-a-cash-drawer\/","href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/docs\/479"}],"wp:attachment":[{"href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/media?parent=1132"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.foosales.com\/pl\/wp-json\/wp\/v2\/doc_tag?post=1132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}